Commit e5386747 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by J. Bruce Fields

nfsd: Fix two typos in comments

(espect -> expect) and (no -> know)
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent c87fb4a3
...@@ -102,7 +102,7 @@ deny_mask_from_posix(unsigned short perm, u32 flags) ...@@ -102,7 +102,7 @@ deny_mask_from_posix(unsigned short perm, u32 flags)
/* We only map from NFSv4 to POSIX ACLs when setting ACLs, when we err on the /* We only map from NFSv4 to POSIX ACLs when setting ACLs, when we err on the
* side of being more restrictive, so the mode bit mapping below is * side of being more restrictive, so the mode bit mapping below is
* pessimistic. An optimistic version would be needed to handle DENY's, * pessimistic. An optimistic version would be needed to handle DENY's,
* but we espect to coalesce all ALLOWs and DENYs before mapping to mode * but we expect to coalesce all ALLOWs and DENYs before mapping to mode
* bits. */ * bits. */
static void static void
...@@ -460,7 +460,7 @@ init_state(struct posix_acl_state *state, int cnt) ...@@ -460,7 +460,7 @@ init_state(struct posix_acl_state *state, int cnt)
state->empty = 1; state->empty = 1;
/* /*
* In the worst case, each individual acl could be for a distinct * In the worst case, each individual acl could be for a distinct
* named user or group, but we don't no which, so we allocate * named user or group, but we don't know which, so we allocate
* enough space for either: * enough space for either:
*/ */
alloc = sizeof(struct posix_ace_state_array) alloc = sizeof(struct posix_ace_state_array)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment