From: Christoph Hellwig Date: Mon, 8 Jun 2009 13:37:16 +0000 (+0200) Subject: xfs: remove SYNC_BDFLUSH X-Git-Tag: v2.6.31-rc1~350^2^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b5403a6d772d340541cfb30a668fde119c40ac1;p=pandora-kernel.git xfs: remove SYNC_BDFLUSH SYNC_BDFLUSH is a leftover from IRIX and rather misnamed for todays code. Make xfs_sync_fsdata and xfs_dq_sync use the SYNC_TRYLOCK flag for not blocking on logs just as the inode sync code already does. For xfs_sync_fsdata it's a trivial 1:1 replacement, but for xfs_qm_sync I use the opportunity to decouple the non-blocking lock case from the different flushing modes, similar to the inode sync code. Signed-off-by: Christoph Hellwig Reviewed-by: Eric Sandeen --- Reading git-diff-tree failed