git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Don't return -EFAULT from a corrupt xattr entry.
[safe/jmp/linux-2.6]
/
fs
/
ocfs2
/
xattr.c
diff --git
a/fs/ocfs2/xattr.c
b/fs/ocfs2/xattr.c
index
151ba62
..
41a6ca0
100644
(file)
--- a/
fs/ocfs2/xattr.c
+++ b/
fs/ocfs2/xattr.c
@@
-1239,7
+1239,7
@@
static int ocfs2_xattr_set_entry(struct inode *inode,
free = min_offs - ((void *)last - xs->base) - sizeof(__u32);
if (free < 0)
- return -E
FAULT
;
+ return -E
IO
;
if (!xs->not_found) {
size_t size = 0;