ocfs2: Check errors from ocfs2_xattr_update_xattr_search()
authorJoel Becker <joel.becker@oracle.com>
Tue, 21 Oct 2008 01:25:56 +0000 (18:25 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 10 Nov 2008 17:51:45 +0000 (09:51 -0800)
commitbd60bd37ade4321ecce4ed4442f68c88febd76d5
tree69d9eb6d24eb31c25a493f8a998f33619c5e8559
parentb37c4d84e9d16fd5b6f31197f02ea0a112fc9e99
ocfs2: Check errors from ocfs2_xattr_update_xattr_search()

The ocfs2_xattr_update_xattr_search() function can return an error when
trying to read blocks off of disk.  The caller needs to check this error
before using those (possibly invalid) blocks.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c