Merge 3.15 bugfixes for 3.16

This commit is contained in:
J. Bruce Fields
2014-05-22 15:48:11 -04:00
2 zmienionych plików z 14 dodań i 3 usunięć

Wyświetl plik

@@ -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);