diff options
author | Brian Foster <bfoster@redhat.com> | 2019-02-06 18:25:29 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-12 01:07:01 +0100 |
commit | 75d0230314997b18946c96dc3d93c8d61cfdb9a5 (patch) | |
tree | d6d27b89f73b07ef1275738d7cba094e653df785 /fs/xfs/xfs_trans_buf.c | |
parent | xfs: cache unlinked pointers in an rhashtable (diff) | |
download | linux-75d0230314997b18946c96dc3d93c8d61cfdb9a5.tar.xz linux-75d0230314997b18946c96dc3d93c8d61cfdb9a5.zip |
xfs: clarify documentation for the function to reverify buffers
Improve the documentation around xfs_buf_ensure_ops, which is the
function that is responsible for cleaning up the b_ops state of buffers
that go through xrep_findroot_block but don't match anything. Rename
the function to xfs_buf_reverify.
[darrick: this started off as bfoster mods of a previous patch of mine,
but the renaming part is now this separate patch.]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/xfs/xfs_trans_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_buf.c b/fs/xfs/xfs_trans_buf.c index 629f1479c9d2..7d65ebf1e847 100644 --- a/fs/xfs/xfs_trans_buf.c +++ b/fs/xfs/xfs_trans_buf.c @@ -277,7 +277,7 @@ xfs_trans_read_buf_map( * release this buffer when it kills the tranaction. */ ASSERT(bp->b_ops != NULL); - error = xfs_buf_ensure_ops(bp, ops); + error = xfs_buf_reverify(bp, ops); if (error) { xfs_buf_ioerror_alert(bp, __func__); |