diff options
author | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2015-08-11 05:30:31 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-08-13 10:26:24 -0400 |
commit | e538674740e632b57091f72cc06c0b03b45fb021 (patch) | |
tree | ba0ccd9e3cdfdc38c3963ac32f176c4c2a19bc11 /fs/nfsd | |
parent | c87fb4a378f93f114b9906e180d83877cee4e7f4 (diff) |
nfsd: Fix two typos in comments
(espect -> expect) and (no -> know)
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-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) |