diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c index 151ba6257fbb..41a6ca004ae3 100644 --- a/fs/ocfs2/xattr.c +++ b/fs/ocfs2/xattr.c | |||
@@ -1239,7 +1239,7 @@ static int ocfs2_xattr_set_entry(struct inode *inode, | |||
1239 | 1239 | ||
1240 | free = min_offs - ((void *)last - xs->base) - sizeof(__u32); | 1240 | free = min_offs - ((void *)last - xs->base) - sizeof(__u32); |
1241 | if (free < 0) | 1241 | if (free < 0) |
1242 | return -EFAULT; | 1242 | return -EIO; |
1243 | 1243 | ||
1244 | if (!xs->not_found) { | 1244 | if (!xs->not_found) { |
1245 | size_t size = 0; | 1245 | size_t size = 0; |