Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86695
b: refs/heads/master
c: d9f382e
h: refs/heads/master
i:
  86693: 1fd4e94
  86691: 10a1111
  86687: f8dd06a
v: v3
  • Loading branch information
Shirish Pargaonkar authored and Steve French committed Feb 12, 2008
1 parent dd8f18a commit 8f04c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f7e8f376360c789cf84a0321960dcef8bf92aff
refs/heads/master: d9f382eff6fbabcd09dad4558d1797c267e9746e
6 changes: 1 addition & 5 deletions trunk/fs/cifs/cifsacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,6 @@ static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl,
ppace = kmalloc(num_aces * sizeof(struct cifs_ace *),
GFP_KERNEL);

/* cifscred->cecount = pdacl->num_aces;
cifscred->aces = kmalloc(num_aces *
sizeof(struct cifs_ace *), GFP_KERNEL);*/

for (i = 0; i < num_aces; ++i) {
ppace[i] = (struct cifs_ace *) (acl_base + acl_size);
#ifdef CONFIG_CIFS_DEBUG2
Expand Down Expand Up @@ -428,7 +424,7 @@ static int set_chmod_dacl(struct cifs_acl *pndacl, struct cifs_sid *pownersid,
&sid_everyone, nmode, S_IRWXO);

pndacl->size = cpu_to_le16(size + sizeof(struct cifs_acl));
pndacl->num_aces = 3;
pndacl->num_aces = cpu_to_le32(3);

return (0);
}
Expand Down

0 comments on commit 8f04c40

Please sign in to comment.