From: Christoph Hellwig Date: Wed, 17 Feb 2010 19:43:56 +0000 (+0000) Subject: xfs: cleanup xfs_iunpin_wait/xfs_iunpin_nowait X-Git-Tag: v2.6.34-rc1~26^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60ec678371183f6e0d487e55fe8adbb33816518e;p=pandora-kernel.git 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 Reviewed-by: Dave Chinner Signed-off-by: Alex Elder --- Reading git-diff-tree failed