From: Christoph Hellwig Date: Mon, 23 Apr 2012 05:58:37 +0000 (+1000) Subject: xfs: do not write the buffer from xfs_qm_dqflush X-Git-Tag: v3.5-rc1~91^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe7257fd4b8ae9a3e354d9edb61890973e373ef0;p=pandora-kernel.git xfs: do not write the buffer from xfs_qm_dqflush Instead of writing the buffer directly from inside xfs_qm_dqflush return it to the caller and let the caller decide what to do with the buffer. Also remove the pincount check in xfs_qm_dqflush that all non-blocking callers already implement and the now unused flags parameter and the XFS_DQ_IS_DIRTY check that all callers already perform. [ Dave Chinner: fixed build error cause by missing '{'. ] Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed