Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60823
b: refs/heads/master
c: f7fede4
h: refs/heads/master
i:
  60821: 069eba3
  60819: 26cd900
  60815: ed37d14
v: v3
  • Loading branch information
J. Bruce Fields authored and Linus Torvalds committed Jul 17, 2007
1 parent 26edb6f commit 9a5faf7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 33a1060ae7dc671a0208b341bd454009625bb5a6
refs/heads/master: f7fede4b27bfc6c987d6da8e40384b1b098830bb
9 changes: 7 additions & 2 deletions trunk/fs/nfsd/nfs4acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,13 @@ static void
summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas)
{
struct posix_acl_entry *pa, *pe;
pas->users = 0;
pas->groups = 0;

/*
* Only pas.users and pas.groups need initialization; previous
* posix_acl_valid() calls ensure that the other fields will be
* initialized in the following loop. But, just to placate gcc:
*/
memset(pas, 0, sizeof(*pas));
pas->mask = 07;

pe = acl->a_entries + acl->a_count;
Expand Down

0 comments on commit 9a5faf7

Please sign in to comment.