From patchwork Tue Aug 11 09:30:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Gr=C3=BCnbacher?= X-Patchwork-Id: 6990101 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 86C369F358 for ; Tue, 11 Aug 2015 09:30:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B40A2057F for ; Tue, 11 Aug 2015 09:30:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CAC6204F6 for ; Tue, 11 Aug 2015 09:30:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933709AbbHKJah (ORCPT ); Tue, 11 Aug 2015 05:30:37 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:36567 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933704AbbHKJag (ORCPT ); Tue, 11 Aug 2015 05:30:36 -0400 Received: by wicja10 with SMTP id ja10so67696818wic.1 for ; Tue, 11 Aug 2015 02:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=j/XBQkgvuvcMyai3h50cczo8UOfCjIuYlfCbzPnJxNc=; b=j2QO90aDJr1q5vVDIRdJN0od/ZuG92bgH5HmE2EUAqgvEihfD+uFEE4DTWpn77pe6+ L8DFS3WndkqUrooY4uqOaW603PTw2htdya2EBqPnULe/k17TT0iKU4vwKCSsFNIAjvPY Lo1itJfUBEuaax/6le1P9ErwRmB6IRRWdiiMPx0dDTcBtrjSGMHd/37KXe2XNGNbFKJE 2MrdYr5j7WJ9F2Wp0blsLOFfxn3I5yk1dFAq29DPcWrzBZXvI+/+Sjxo3yFc37tvyaRu RNHqKXyCLCKXBeTNmB9awqHqDqUguir2g5Q9l19D7xOtGLIYUUAjjOGBRT7Z5g8POlJD gtxA== X-Received: by 10.194.87.69 with SMTP id v5mr52238488wjz.140.1439285435376; Tue, 11 Aug 2015 02:30:35 -0700 (PDT) Received: from nuc.lan (p54981EFC.dip0.t-ipconnect.de. [84.152.30.252]) by smtp.gmail.com with ESMTPSA id gj6sm17987487wib.22.2015.08.11.02.30.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Aug 2015 02:30:34 -0700 (PDT) From: Andreas Gruenbacher X-Google-Original-From: Andreas Gruenbacher To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org Subject: [PATCH] nfsd: Fix two typos in comments Date: Tue, 11 Aug 2015 11:30:31 +0200 Message-Id: <1439285431-16215-1-git-send-email-agruenba@redhat.com> X-Mailer: git-send-email 2.4.2 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP (espect -> expect) and (no -> know) Signed-off-by: Andreas Gruenbacher --- fs/nfsd/nfs4acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfsd/nfs4acl.c b/fs/nfsd/nfs4acl.c index eb5accf..9c17bcd7 100644 --- a/fs/nfsd/nfs4acl.c +++ b/fs/nfsd/nfs4acl.c @@ -100,7 +100,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 @@ -458,7 +458,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)