projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e39e1
)
hfsplus: fix getxattr return value
author
Christoph Hellwig
<hch@tuxera.com>
Fri, 15 Oct 2010 12:45:00 +0000
(
05:45
-0700)
committer
Christoph Hellwig
<hch@lst.de>
Fri, 15 Oct 2010 12:45:00 +0000
(
05:45
-0700)
We need to support -EOPNOTSUPP for attributes that are not supported to
match other filesystems and allow userspace to detect if Posix ACLs
are supported or not. setxattr already gets this right.
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/ioctl.c
patch
|
blob
|
history
diff --git
a/fs/hfsplus/ioctl.c
b/fs/hfsplus/ioctl.c
index
80eb5b3
..
5b4667e
100644
(file)
--- a/
fs/hfsplus/ioctl.c
+++ b/
fs/hfsplus/ioctl.c
@@
-192,7
+192,7
@@
ssize_t hfsplus_getxattr(struct dentry *dentry, const char *name,
} else
res = size ? -ERANGE : 4;
} else
- res = -E
NODATA
;
+ res = -E
OPNOTSUPP
;
out:
if (size)
hfs_find_exit(&fd);