]> err.no Git - linux-2.6/commit
[XFS] Check for errors when changing buffer pointers.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:24:24 +0000 (12:24 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 02:02:10 +0000 (12:02 +1000)
commit234f56aca20a4f66b6ba3d3bf2787634dd9e0999
tree5830e04df2a24cf988ad22abe960fd45fb8a5850
parent78e9da77f1bf265fe750b9223ec15707473fb6e8
[XFS] Check for errors when changing buffer pointers.

xfs_buf_associate_memory() can fail, but the return is never checked.
Propagate the error through XFS_BUF_SET_PTR() so that failures are
detected.

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

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/xfs_log_recover.c