From patchwork Thu Nov 24 18:50:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 9446177 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1A17060235 for ; Thu, 24 Nov 2016 18:51:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06C9B2807E for ; Thu, 24 Nov 2016 18:51:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EDE0F28111; Thu, 24 Nov 2016 18:51:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FD812807E for ; Thu, 24 Nov 2016 18:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941101AbcKXSu6 (ORCPT ); Thu, 24 Nov 2016 13:50:58 -0500 Received: from mailrelay103.isp.belgacom.be ([195.238.20.130]:26417 "EHLO mailrelay103.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935041AbcKXSu5 (ORCPT ); Thu, 24 Nov 2016 13:50:57 -0500 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2B4AgAwNjdY/9JLtVteHAEBBAEBCgEBg?= =?us-ascii?q?zgBAQEBAR+BWo1Al0ABkj+CDoIIhiGBeEAUAQIBAQEBAQEBYiiFRSNPSyQTiHG?= =?us-ascii?q?wBIwChj6PBQWaVJEGApAwkX0eN4EUgwYBgks9NIhHAQEB?= Received: from 210.75-181-91.adsl-dyn.isp.belgacom.be (HELO inkjet2.lan) ([91.181.75.210]) by relay.skynet.be with ESMTP; 24 Nov 2016 19:50:46 +0100 From: Fabian Frederick To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, fabf@skynet.be Subject: [PATCH 1/1 linux-next] vfs: fix comment typos Date: Thu, 24 Nov 2016 19:50:39 +0100 Message-Id: <1480013439-28274-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.7.4 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fabian Frederick --- fs/namei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 1669c93d..ca829b4 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3119,12 +3119,12 @@ static int lookup_open(struct nameidata *nd, struct path *path, } /* - * Checking write permission is tricky, bacuse we don't know if we are + * Checking write permission is tricky, because we don't know if we are * going to actually need it: O_CREAT opens should work as long as the * file exists. But checking existence breaks atomicity. The trick is * to check access and if not granted clear O_CREAT from the flags. * - * Another problem is returing the "right" error value (e.g. for an + * Another problem is returning the "right" error value (e.g. for an * O_EXCL open we want to return EEXIST not EROFS). */ if (open_flag & O_CREAT) {