git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c988fd0
)
ocfs2: Check xattr block signatures properly.
author
Joel Becker
<joel.becker@oracle.com>
Tue, 21 Oct 2008 01:20:43 +0000
(18:20 -0700)
committer
Mark Fasheh
<mfasheh@suse.com>
Mon, 10 Nov 2008 17:51:44 +0000
(09:51 -0800)
The xattr.c code is currently memcmp()ing naking buffer pointers.
Create the OCFS2_IS_VALID_XATTR_BLOCK() macro to match its peers and use
that.
In addition, failed signature checks were returning -EFAULT, which is
completely wrong. Return -EIO.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
No differences found