git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: delete unnecessary assignment in vfs_listxattr
[sfrench/cifs-2.6.git]
/
fs
/
xattr.c
diff --git
a/fs/xattr.c
b/fs/xattr.c
index 28e1dfc27b95748c835c8f74129ef1a85b78a466..f9cb1db187b740b9b7ef8cd19be9cdb6155d9300 100644
(file)
--- a/
fs/xattr.c
+++ b/
fs/xattr.c
@@
-353,7
+353,6
@@
vfs_listxattr(struct dentry *dentry, char *list, size_t size)
if (error)
return error;
if (inode->i_op->listxattr && (inode->i_opflags & IOP_XATTR)) {
- error = -EOPNOTSUPP;
error = inode->i_op->listxattr(dentry, list, size);
} else {
error = security_inode_listsecurity(inode, list, size);