[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>
This commit is contained in:
Steve French
2017-05-12 20:59:10 -05:00
parent 4328fea77c
commit 67b4c889cc
5 changed files with 8 additions and 10 deletions

View File

@@ -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;