diff options
author | David Chinner <dgc@sgi.com> | 2008-04-10 12:24:24 +1000 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-18 12:02:10 +1000 |
commit | 234f56aca20a4f66b6ba3d3bf2787634dd9e0999 (patch) | |
tree | 5830e04df2a24cf988ad22abe960fd45fb8a5850 /fs/xfs/xfs_dir2_data.c | |
parent | 78e9da77f1bf265fe750b9223ec15707473fb6e8 (diff) |
[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>
Diffstat (limited to 'fs/xfs/xfs_dir2_data.c')
0 files changed, 0 insertions, 0 deletions