summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2017-05-13 03:59:10 +0200
committerSteve French <smfrench@gmail.com>2017-05-13 03:59:10 +0200
commit67b4c889cc835a2a6e2ff4e20544a33e37e2875d (patch)
tree3d58966084697d786b8c39fcdfbcb7dfefa4fbed /fs/cifs/cifssmb.c
parentfs: cifs: transport: Use time_after for time comparison (diff)
downloadlinux-67b4c889cc835a2a6e2ff4e20544a33e37e2875d.tar.xz
linux-67b4c889cc835a2a6e2ff4e20544a33e37e2875d.zip
[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/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 4de3186d8a71..fbb0d4cbda41 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -6069,11 +6069,13 @@ ssize_t
CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon,
const unsigned char *searchName, const unsigned char *ea_name,
char *EAData, size_t buf_size,
- const struct nls_table *nls_codepage, int remap)
+ struct cifs_sb_info *cifs_sb)
{
/* BB assumes one setup word */
TRANSACTION2_QPI_REQ *pSMB = NULL;
TRANSACTION2_QPI_RSP *pSMBr = NULL;
+ int remap = cifs_remap(cifs_sb);
+ struct nls_table *nls_codepage = cifs_sb->local_nls;
int rc = 0;
int bytes_returned;
int list_len;