diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-11-14 01:53:49 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-15 22:35:09 -0500 |
commit | b0f539de9fcc543a3ffa40bc22bf51aca6ea6183 (patch) | |
tree | fe2e14add152900a3bd480714c886f8a86a2082d /fs/xfs/xfs_alloc.c | |
parent | 612cfbfe174a89d565363fff7f3961a2dda5fb71 (diff) |
xfs: connect up write verifiers to new buffers
Metadata buffers that are read from disk have write verifiers
already attached to them, but newly allocated buffers do not. Add
appropriate write verifiers to all new metadata buffers.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
-rw-r--r-- | fs/xfs/xfs_alloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_alloc.c b/fs/xfs/xfs_alloc.c index d12bbedf6fe5..545a6c4c2366 100644 --- a/fs/xfs/xfs_alloc.c +++ b/fs/xfs/xfs_alloc.c | |||
@@ -465,14 +465,14 @@ xfs_agfl_verify( | |||
465 | #endif | 465 | #endif |
466 | } | 466 | } |
467 | 467 | ||
468 | static void | 468 | void |
469 | xfs_agfl_write_verify( | 469 | xfs_agfl_write_verify( |
470 | struct xfs_buf *bp) | 470 | struct xfs_buf *bp) |
471 | { | 471 | { |
472 | xfs_agfl_verify(bp); | 472 | xfs_agfl_verify(bp); |
473 | } | 473 | } |
474 | 474 | ||
475 | void | 475 | static void |
476 | xfs_agfl_read_verify( | 476 | xfs_agfl_read_verify( |
477 | struct xfs_buf *bp) | 477 | struct xfs_buf *bp) |
478 | { | 478 | { |
@@ -2181,14 +2181,14 @@ xfs_agf_verify( | |||
2181 | } | 2181 | } |
2182 | } | 2182 | } |
2183 | 2183 | ||
2184 | static void | 2184 | void |
2185 | xfs_agf_write_verify( | 2185 | xfs_agf_write_verify( |
2186 | struct xfs_buf *bp) | 2186 | struct xfs_buf *bp) |
2187 | { | 2187 | { |
2188 | xfs_agf_verify(bp); | 2188 | xfs_agf_verify(bp); |
2189 | } | 2189 | } |
2190 | 2190 | ||
2191 | void | 2191 | static void |
2192 | xfs_agf_read_verify( | 2192 | xfs_agf_read_verify( |
2193 | struct xfs_buf *bp) | 2193 | struct xfs_buf *bp) |
2194 | { | 2194 | { |