summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.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/cifssmb.c
parent4328fea77ca30ef6af938ae3f263a3d055a9c0e6 (diff)
downloadop-kernel-dev-67b4c889cc835a2a6e2ff4e20544a33e37e2875d.zip
op-kernel-dev-67b4c889cc835a2a6e2ff4e20544a33e37e2875d.tar.gz
[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 4de3186d8..fbb0d4c 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;
OpenPOWER on IntegriCloud