diff options
-rw-r--r-- | fs/nfsd/nfs4acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4acl.c b/fs/nfsd/nfs4acl.c index 4b939b09f3d0..6adabd6049b7 100644 --- a/fs/nfsd/nfs4acl.c +++ b/fs/nfsd/nfs4acl.c | |||
@@ -102,7 +102,7 @@ deny_mask_from_posix(unsigned short perm, u32 flags) | |||
102 | /* We only map from NFSv4 to POSIX ACLs when setting ACLs, when we err on the | 102 | /* We only map from NFSv4 to POSIX ACLs when setting ACLs, when we err on the |
103 | * side of being more restrictive, so the mode bit mapping below is | 103 | * side of being more restrictive, so the mode bit mapping below is |
104 | * pessimistic. An optimistic version would be needed to handle DENY's, | 104 | * pessimistic. An optimistic version would be needed to handle DENY's, |
105 | * but we espect to coalesce all ALLOWs and DENYs before mapping to mode | 105 | * but we expect to coalesce all ALLOWs and DENYs before mapping to mode |
106 | * bits. */ | 106 | * bits. */ |
107 | 107 | ||
108 | static void | 108 | static void |
@@ -460,7 +460,7 @@ init_state(struct posix_acl_state *state, int cnt) | |||
460 | state->empty = 1; | 460 | state->empty = 1; |
461 | /* | 461 | /* |
462 | * In the worst case, each individual acl could be for a distinct | 462 | * In the worst case, each individual acl could be for a distinct |
463 | * named user or group, but we don't no which, so we allocate | 463 | * named user or group, but we don't know which, so we allocate |
464 | * enough space for either: | 464 | * enough space for either: |
465 | */ | 465 | */ |
466 | alloc = sizeof(struct posix_ace_state_array) | 466 | alloc = sizeof(struct posix_ace_state_array) |