]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit3c56836f92683cb871ebbf44c512069b0d48a08f
treeac0ef5d76e086aa6e2542fb5548db26af5967297
parent4b8879df8c21bed3efd1eb2da5d72501199aba29
[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