nfsd: Fix two typos in comments
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>
Tue, 11 Aug 2015 09:30:31 +0000 (11:30 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 13 Aug 2015 14:26:24 +0000 (10:26 -0400)
(espect -> expect) and (no -> know)

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4acl.c

index 4b939b0..6adabd6 100644 (file)
@@ -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
  * side of being more restrictive, so the mode bit mapping below is
  * 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. */
 
 static void
@@ -460,7 +460,7 @@ init_state(struct posix_acl_state *state, int cnt)
        state->empty = 1;
        /*
         * 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:
         */
        alloc = sizeof(struct posix_ace_state_array)