]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit99c2a9ebd8d996d70a25fb4eb72883df30db1cc3
treedd242710a41839617eae7a8b7e71f6effb4d608c
parent692dcc19d77115866479d92194296189e3bd4fd7
[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