提交 eb915375 编写于 作者: C Chengguang Xu 提交者: Al Viro

vfs: delete unnecessary assignment in vfs_listxattr

It seems the first error assignment in if branch is redundant.
Signed-off-by: NChengguang Xu <cgxu519@gmx.com>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 965de0ec
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册