Christoph Hellwig 60ec678371 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>
2010-03-01 16:35:50 -06:00
..
2010-03-01 16:35:44 -06:00
2010-02-13 13:22:53 -06:00
2009-12-14 23:08:16 -06:00
2009-06-10 17:07:47 +02:00
2010-03-01 16:34:18 -06:00
2009-12-14 23:08:16 -06:00
2009-06-10 17:07:47 +02:00
2010-01-21 13:44:36 -06:00
2010-03-01 16:35:25 -06:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:51:14 +02:00
2009-03-29 09:55:42 +02:00
2008-12-01 11:37:35 +11:00
2008-10-30 17:53:24 +11:00
2010-01-21 13:44:43 -06:00
2009-03-29 09:55:42 +02:00
2010-01-15 15:33:02 -06:00
2010-03-01 16:34:45 -06:00
2009-08-31 14:46:22 -05:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:55:42 +02:00
2009-09-01 12:46:16 -05:00
2009-03-29 09:55:42 +02:00
2010-01-20 10:44:58 +11:00
2009-06-08 15:33:32 +02:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00