aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorTiger Yang <[email protected]>2008-11-02 11:04:21 +0000
committerMark Fasheh <[email protected]>2008-11-10 17:51:47 +0000
commit6c1e183e12dbd78a897a859f13220406296fee31 (patch)
treec57a634cae86c83db4e3067af8ccf83805d2bf90 /lib/spinlock_debug.c
parentocfs2: fix printk related build warnings in xattr.c (diff)
downloadkernel-6c1e183e12dbd78a897a859f13220406296fee31.tar.gz
kernel-6c1e183e12dbd78a897a859f13220406296fee31.zip
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 <[email protected]> Signed-off-by: Mark Fasheh <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions