summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log_cil.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2010-12-03 08:42:57 +0300
committerDave Chinner <david@fromorbit.com>2010-12-03 08:42:57 +0300
commiteb3efa1249b6413be930bdf13d10b6238028a440 (patch)
tree7b2d8b9d55d5757236ef90389bc6664784607930 /fs/xfs/xfs_log_cil.c
parentb199c8a4ba11879df87daad496ceee41fdc6aa82 (diff)
downloadlinux-eb3efa1249b6413be930bdf13d10b6238028a440.tar.xz
xfs: clean up xfs_ail_delete()
xfs_ail_delete() has a needlessly complex interface. It returns the log item that was passed in for deletion (which the callers then assert is identical to the one passed in), and callers of xfs_ail_delete() still need to invalidate current traversal cursors. Make xfs_ail_delete() return void, move the cursor invalidation inside it, and clean up the callers just to use the log item pointer they passed in. While cleaning up, remove the messy and unnecessary "/* ARGUSED */" comments around all these functions. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_log_cil.c')
0 files changed, 0 insertions, 0 deletions