[XFS] propogate return codes from flush routines
authorLachlan McIlroy <lachlan@sgi.com>
Tue, 8 May 2007 03:49:27 +0000 (13:49 +1000)
committerTim Shimmin <tes@sgi.com>
Tue, 8 May 2007 03:49:27 +0000 (13:49 +1000)
commitd3cf209476b72c83907a412b6708c5e498410aa7
tree5e7a85751ae03b9eb3110e1cfc147b3492ae0fa5
parent424ea91ba61c1cdc2dac68576c97030cbf47d84f
[XFS] propogate return codes from flush routines

This patch handles error return values in fs_flush_pages and
fs_flushinval_pages. It changes the prototype of fs_flushinval_pages so we
can propogate the errors and handle them at higher layers. I also modified
xfs_itruncate_start so that it could propogate the error further.

SGI-PV: 961990
SGI-Modid: xfs-linux-melb:xfs-kern:28231a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Stewart Smith <stewart@flamingspork.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_fs_subr.c
fs/xfs/linux-2.6/xfs_fs_subr.h
fs/xfs/linux-2.6/xfs_lrw.c
fs/xfs/linux-2.6/xfs_vnode.h
fs/xfs/xfs_dfrag.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_utils.c
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vnodeops.c