diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-05-22 21:48:11 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-22 21:48:15 +0200 |
commit | f35ea0d4b66b789e0edcea634238e9aa31924516 (patch) | |
tree | 2de32d027b8dab67153d7133f42c732c5d9e0ffe /fs/nfsd/nfs4acl.c | |
parent | nfsd4: fix delegation cleanup on error (diff) | |
parent | nfsd4: warn on finding lockowner without stateid's (diff) | |
download | linux-f35ea0d4b66b789e0edcea634238e9aa31924516.tar.xz linux-f35ea0d4b66b789e0edcea634238e9aa31924516.zip |
Merge 3.15 bugfixes for 3.16
Diffstat (limited to 'fs/nfsd/nfs4acl.c')
-rw-r--r-- | fs/nfsd/nfs4acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4acl.c b/fs/nfsd/nfs4acl.c index 05c9b2f9427b..7c7c02554a81 100644 --- a/fs/nfsd/nfs4acl.c +++ b/fs/nfsd/nfs4acl.c @@ -589,7 +589,7 @@ posix_state_to_acl(struct posix_acl_state *state, unsigned int flags) add_to_mask(state, &state->groups->aces[i].perms); } - if (!state->users->n && !state->groups->n) { + if (state->users->n || state->groups->n) { pace++; pace->e_tag = ACL_MASK; low_mode_from_nfs4(state->mask.allow, &pace->e_perm, flags); |