]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Check for dquot flush errors
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:20:24 +0000 (12:20 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:56:55 +0000 (11:56 +1000)
commita32a2c9d4318425ec6492daa2eb9750d6d7ef9ce
treeac0ef5d76e086aa6e2542fb5548db26af5967297
parent0599e3e1acd47026048928ad93891da4e9345915
[XFS] Check for dquot flush errors

xfs_qm_dqflush() can fail, but the return is not checked anywhere. Hence
we never know if we've failed to flush a dquot to disk. Propagate the
error and warn to the syslog if a flush ever fails.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30787a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/quota/xfs_dquot.c
fs/xfs/quota/xfs_dquot_item.c
fs/xfs/quota/xfs_qm.c