From: Dave Chinner Date: Mon, 8 Mar 2010 00:26:03 +0000 (+1100) Subject: xfs: remove stale parameter from ->iop_unpin method X-Git-Tag: v2.6.35-rc1~468^2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e123850863366b738d6dfb9a84045018ff038fc;p=pandora-kernel.git xfs: remove stale parameter from ->iop_unpin method 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(). This means we can kill the XFS_LID_BUF_STALE flag - it is set, checked and cleared in the same places XFS_BLI_STALE flag in the xfs_buf_log_item so it is now redundant and hence safe to remove. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed