diff options
author | Steve French <smfrench@gmail.com> | 2017-05-13 04:59:10 +0300 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-05-13 04:59:10 +0300 |
commit | 67b4c889cc835a2a6e2ff4e20544a33e37e2875d (patch) | |
tree | 3d58966084697d786b8c39fcdfbcb7dfefa4fbed /fs/cifs/cifssmb.c | |
parent | 4328fea77ca30ef6af938ae3f263a3d055a9c0e6 (diff) | |
download | linux-67b4c889cc835a2a6e2ff4e20544a33e37e2875d.tar.xz |
[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.c | 4 |
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; |