summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-02-17 20:43:56 +0100
committerAlex Elder <aelder@sgi.com>2010-03-01 23:35:50 +0100
commit60ec678371183f6e0d487e55fe8adbb33816518e (patch)
tree9959de5ad0fd47a8ef363c93e3046023ba81c67a /fs/xfs/xfs_vnodeops.c
parentxfs: kill xfs_lrw.h (diff)
downloadlinux-60ec678371183f6e0d487e55fe8adbb33816518e.tar.xz
linux-60ec678371183f6e0d487e55fe8adbb33816518e.zip
xfs: cleanup xfs_iunpin_wait/xfs_iunpin_nowait
Remove the inode item pointer and ili_last_lsn checks in __xfs_iunpin_wait as any pinned inode is guaranteed to have them valid. After this the xfs_iunpin_nowait case is nothing more than a xfs_log_force_lsn, as we know that the caller has already checked the pincount. Make xfs_iunpin_nowait the new low-level routine just doing the log force and rewrite xfs_iunpin_wait around it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
0 files changed, 0 insertions, 0 deletions