Tiger Yang 6c1e183e12 ocfs2: Check search result in ocfs2_xattr_block_get()
ocfs2_xattr_block_get() calls ocfs2_xattr_search() to find an external
xattr, but doesn't check the search result that is passed back via struct
ocfs2_xattr_search. Add a check for search result, and pass back -ENODATA if
the xattr search failed. This avoids a later NULL pointer error.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2008-11-10 09:51:47 -08:00
..
2008-10-14 11:51:57 -07:00
2008-10-14 11:51:57 -07:00
2007-10-16 09:42:58 -07:00
2008-01-25 14:45:34 -08:00
2007-10-12 11:54:38 -07:00
2008-10-14 11:51:57 -07:00
2008-10-14 11:58:03 -07:00
2008-10-13 17:02:43 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2008-02-03 17:33:42 +02:00
2008-10-13 17:02:43 -07:00
2008-10-14 11:51:57 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 17:02:44 -07:00
2008-10-13 13:57:57 -07:00
2008-10-14 11:51:57 -07:00
2008-10-14 11:51:57 -07:00
2008-01-25 15:05:46 -08:00