]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitd64e31a2f53cdcb2f95b782196faacb0995ca0c0
treed13230aeeb739f263305c686168823e161bdf619
parent556b8b166c9514b5f940047a41dad8fe8cd9a778
[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