summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2017-05-12 20:59:10 -0500
committerSteve French <smfrench@gmail.com>2017-05-12 20:59:10 -0500
commit67b4c889cc835a2a6e2ff4e20544a33e37e2875d (patch)
tree3d58966084697d786b8c39fcdfbcb7dfefa4fbed /fs/cifs/inode.c
parent4328fea77ca30ef6af938ae3f263a3d055a9c0e6 (diff)
downloadlinux-67b4c889cc835a2a6e2ff4e20544a33e37e2875d.tar.bz2
[CIFS] Minor cleanup of xattr query function
Some minor cleanup of cifs query xattr functions (will also make SMB3 xattr implementation cleaner as well). Signed-off-by: Steve French <steve.french@primarydata.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index c3b2fa0b2ec8..4d1fcd76d022 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -563,8 +563,7 @@ static int cifs_sfu_mode(struct cifs_fattr *fattr, const unsigned char *path,
rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
"SETFILEBITS", ea_value, 4 /* size of buf */,
- cifs_sb->local_nls,
- cifs_remap(cifs_sb));
+ cifs_sb);
cifs_put_tlink(tlink);
if (rc < 0)
return (int)rc;