[PATCH 3/9] xfs: remove stale parameter from ->iop_unpin method
Christoph Hellwig
hch at infradead.org
Sat Mar 6 04:55:53 CST 2010
On Sat, Mar 06, 2010 at 12:51:18PM +1100, Dave Chinner wrote:
> The staleness of a object being unpinned can be directly derived
> from the object itself - there is no need to extract it from the
> object then pass it as a parameter into IOP_UNPIN().
Not quite as obvious as the description makes it sounds, as
we're removing the XFS_LID_BUF_STALE flag, and the buf item
which was the only place actually checking it is now switched
to the XFS_BLI_STALE flag in the xfs_buf_log_item, but as
these are set and cleared in exactly the same places it's fine
and a great cleanups.
Signed-off-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list