aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-10-26 19:40:20 -0400
committerSteve French <sfrench@us.ibm.com>2007-10-26 19:40:20 -0400
commitb9c7a2bb1e57f571d3b0763bdce1ce15510a7b78 (patch)
tree2f97331f16816c784969f509f8108c594bc41253 /fs/cifs/cifssmb.c
parentd61e5808d9a4e7c7f25914ceae50664a6454c3ca (diff)
[CIFS] ACL support part 8
Now GetACL in getinodeinfo path when cifsacl mount option used, and ACL is parsed for SIDs. Missing only one piece now to be able to retrieve the mode Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index cc17e98991f3..0bb3e431ee01 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -2495,7 +2495,7 @@ querySymLinkRetry:
2495 MaxSetupCount (size of returned setup area) and 2495 MaxSetupCount (size of returned setup area) and
2496 MaxParameterCount (returned parms size) must be set by caller */ 2496 MaxParameterCount (returned parms size) must be set by caller */
2497static int 2497static int
2498smb_init_ntransact(const __u16 sub_command, const int setup_count, 2498smb_init_nttransact(const __u16 sub_command, const int setup_count,
2499 const int parm_len, struct cifsTconInfo *tcon, 2499 const int parm_len, struct cifsTconInfo *tcon,
2500 void **ret_buf) 2500 void **ret_buf)
2501{ 2501{
@@ -2526,7 +2526,7 @@ smb_init_ntransact(const __u16 sub_command, const int setup_count,
2526 2526
2527static int 2527static int
2528validate_ntransact(char *buf, char **ppparm, char **ppdata, 2528validate_ntransact(char *buf, char **ppparm, char **ppdata,
2529 __u32 *pdatalen, __u32 *pparmlen) 2529 __u32 *pparmlen, __u32 *pdatalen)
2530{ 2530{
2531 char *end_of_smb; 2531 char *end_of_smb;
2532 __u32 data_count, data_offset, parm_count, parm_offset; 2532 __u32 data_count, data_offset, parm_count, parm_offset;
@@ -3086,7 +3086,7 @@ CIFSSMBGetCIFSACL(const int xid, struct cifsTconInfo *tcon, __u16 fid,
3086 *pbuflen = 0; 3086 *pbuflen = 0;
3087 *acl_inf = NULL; 3087 *acl_inf = NULL;
3088 3088
3089 rc = smb_init_ntransact(NT_TRANSACT_QUERY_SECURITY_DESC, 0, 3089 rc = smb_init_nttransact(NT_TRANSACT_QUERY_SECURITY_DESC, 0,
3090 8 /* parm len */, tcon, (void **) &pSMB); 3090 8 /* parm len */, tcon, (void **) &pSMB);
3091 if (rc) 3091 if (rc)
3092 return rc; 3092 return rc;