[XFS] Ensure xfs_bawrite() errors are checked.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:22:24 +0000 (12:22 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 02:00:35 +0000 (12:00 +1000)
commitdb7a19f2c89d99b66874a7e0c0dc681ff1f37b4e
treedd242710a41839617eae7a8b7e71f6effb4d608c
parentd64e31a2f53cdcb2f95b782196faacb0995ca0c0
[XFS] Ensure xfs_bawrite() errors are checked.

xfs_bawrite() can return immediate error status on async writes. Unlike
xfsbdstrat() we don't ever check the error on the buffer after the call,
so we currently do not catch errors at all here. Ensure we catch and
propagate or warn to the syslog about up-front async write errors.

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

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/xfs_buf_item.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode_item.c