]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Propagate errors from xfs_trans_commit().
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:21:18 +0000 (12:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:58:17 +0000 (11:58 +1000)
commit6dd2b5c4576a813ae920e772049da186f4172ba8
treee38b474f0dbac30aee7141878953223a2a588c69
parent791eac23aeb08721cb092ff3164043e600fbdbe1
[XFS] Propagate errors from xfs_trans_commit().

xfs_trans_commit() can return errors when there are problems in the
transaction subsystem. They are indicative that the entire transaction may
be incomplete, and hence the error should be propagated as there is a good
possibility that there is something fatally wrong in the filesystem. Catch
and propagate or warn about commit errors in the places where they are
currently ignored.

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

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_qm.c
fs/xfs/quota/xfs_qm_syscalls.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_rtalloc.c
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vnodeops.c