]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Warn if errors come from block_truncate_page().
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:21:46 +0000 (12:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:59:12 +0000 (11:59 +1000)
commitd87dd6360dce86cad9099aed74f14b4dd0143301
tree743ea201fa895e75be79f357b0246c35a0726dcc
parentc2b1cba6833da77b1b478ac144f9cf5144d276ec
[XFS] Warn if errors come from block_truncate_page().

block_truncate_page() can return errors that we currently ignore and
silently discard. We should not ever get errors reported here - an error
indicates a bug somewhere else. Hence catch the error and issue a stack
dump to the syslog because we cannot propagate the error any further up
the call chain.

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

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_iops.c