From: Christoph Hellwig Date: Tue, 11 Oct 2011 15:14:09 +0000 (+0000) Subject: xfs: force the log if we encounter pinned buffers in .iop_pushbuf X-Git-Tag: v3.1-rc10~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17b38471c3c07a49f0bbc2ecc2e92050c164e226;p=pandora-kernel.git xfs: force the log if we encounter pinned buffers in .iop_pushbuf We need to check for pinned buffers even in .iop_pushbuf given that inode items flush into the same buffers that may be pinned directly due operations on the unlinked inode list operating directly on buffers. To do this add a return value to .iop_pushbuf that tells the AIL push about this and use the existing log force mechanisms to unpin it. Signed-off-by: Christoph Hellwig Reported-by: Stefan Priebe Tested-by: Stefan Priebe Reviewed-by: Dave Chinner Signed-off-by: Alex Elder --- Reading git-diff-tree failed