From patchwork Sat Mar 11 10:13:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9618527 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 D4C0F604CC for ; Sat, 11 Mar 2017 10:15:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD8FB287BA for ; Sat, 11 Mar 2017 10:15:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0A4C287C0; Sat, 11 Mar 2017 10:15:20 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 53181287BA for ; Sat, 11 Mar 2017 10:15:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755038AbdCKKPH (ORCPT ); Sat, 11 Mar 2017 05:15:07 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34092 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751788AbdCKKPF (ORCPT ); Sat, 11 Mar 2017 05:15:05 -0500 Received: by mail-pg0-f66.google.com with SMTP id b5so12904683pgg.1; Sat, 11 Mar 2017 02:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=6a/8xnGIknZguyEQS1fdmHU/76Ijyp23XM1X5W5gsMk=; b=Dssojtgr78QPGBvDtB0xHn9XxjI1C8gcpk1Pwt6zEeCYgOFrygnYYvma3ovN+JvP2M xTXqOBQcQb21zqQTASNFXpKTAGkaZTT/xjiPYejILLw7WULg1BTIRkVJXKZs7GPgfcyD 9guIbmzIsIpO11tEmti0ZE/EDfmMtjIefJgjgWSpLAWua0oTVvGZoaMEVtQK2mbnr1tm 8Ii315LEZxsBzOntqT4hbKLMJ0Pl6Ro7xKR8mFkpJbtGb2EaGWHfAQjfLCAqSQOf7hm4 qwyJ0RvvyTHok2Ccei1MlkSdi5ISBq58EkCyu883/jro+EnYszcTggVyu5+K9f75acSl /arA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6a/8xnGIknZguyEQS1fdmHU/76Ijyp23XM1X5W5gsMk=; b=CWQzXd37JAkgnb5P4W6nYMIwgmbx6ZxR6KVX+GvvqaP6+Z14uiok46V0snQ3WSzJgZ NzlSAB1gdMlHI54LliOGYDSa9diAtdnW/vxFxUmj5JHfuXpKUfVWG9YiRmI2nCx4lPrl b6XxINuS6IdXc+l0CVqM60pGicKz86XOeR2R+nK0KKnjQY96pzSb/l1tg57jwA6lSCtm G9EEVUD9FFbZDX9NFPHyZ9SXowGe9/G9Wd7I1Z+dR8QKbRWiVk/geZ7HLkBv41HZHk3z lpfiM2xPM/PD1Hswl1WlmVot2ALydwEuUaZG5KlA6yBTvAflCap1CF8Uz60aMRZQBK19 aVqA== X-Gm-Message-State: AMke39m7wh2U351v5o/37j3YtIwUuO2hTMCyfkHPGxM6bJhpq8XPHnJtDrgPzWNDSPK0eA== X-Received: by 10.84.131.197 with SMTP id d63mr32652851pld.103.1489227304130; Sat, 11 Mar 2017 02:15:04 -0800 (PST) Received: from zzz.hsd1.wa.comcast.net (c-73-239-167-150.hsd1.wa.comcast.net. [73.239.167.150]) by smtp.gmail.com with ESMTPSA id z68sm23526419pgz.11.2017.03.11.02.15.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Mar 2017 02:15:03 -0800 (PST) From: Eric Biggers To: linux-fsdevel@vger.kernel.org Cc: Al Viro , David Howells , linux-kernel@vger.kernel.org, Eric Biggers Subject: [PATCH] statx: remove incorrect part of vfs_statx() comment Date: Sat, 11 Mar 2017 02:13:32 -0800 Message-Id: <20170311101332.6331-1-ebiggers3@gmail.com> X-Mailer: git-send-email 2.12.0 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 From: Eric Biggers request_mask and query_flags are function arguments, not passed in struct kstat. So remove the part of the comment which claims otherwise. This was apparently left over from an earlier version of the statx patch. Signed-off-by: Eric Biggers Acked-by: David Howells Reviewed-by: Christoph Hellwig --- fs/stat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/stat.c b/fs/stat.c index df484a60846d..b792dd201c31 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -159,9 +159,6 @@ EXPORT_SYMBOL(vfs_statx_fd); * Additionally, the use of AT_SYMLINK_NOFOLLOW in flags will prevent a symlink * at the given name from being referenced. * - * The caller must have preset stat->request_mask as for vfs_getattr(). The - * flags are also used to load up stat->query_flags. - * * 0 will be returned on success, and a -ve error code if unsuccessful. */ int vfs_statx(int dfd, const char __user *filename, int flags,