]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Ensure errors from xfs_bdstrat() are correctly checked.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:22:17 +0000 (12:22 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 02:00:24 +0000 (12:00 +1000)
commit692dcc19d77115866479d92194296189e3bd4fd7
treed13230aeeb739f263305c686168823e161bdf619
parent4d168e29653e593a4869e93c62d1cfdfaafb65cc
[XFS] Ensure errors from xfs_bdstrat() are correctly checked.

xfsbdstrat() is declared to return an error. That is never checked because
the error is propagated by the xfs_buf_t that is passed through the
function.

Mark xfsbdstrat() as returning void and comment the prototype on the
methods needed for error checking.

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

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/linux-2.6/xfs_lrw.c
fs/xfs/linux-2.6/xfs_lrw.h
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_trans_buf.c
fs/xfs/xfs_vnodeops.c