From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: [PATCH] fcntl.h: Fix a typo Date: Mon, 02 Feb 2015 08:43:16 +0100 Message-ID: <54CF2A94.9080107@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Arnd Bergmann Cc: "David S. Miller" , Stephen Rothwell , linux-kernel , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org In the source file fs/fcntl.c and also in the fcntl() man page one can see that the FD_CLOEXEC flag can be manipulated via F_GETFD and F_SETFD. Update the comment in accordingly. Signed-off-by: Bart Van Assche Cc: David Miller Cc: Stephen Rothwell --- include/uapi/asm-generic/fcntl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/fcntl.h b/include/uapi/asm-generic/fcntl.h index e063eff..584fa2b 100644 --- a/include/uapi/asm-generic/fcntl.h +++ b/include/uapi/asm-generic/fcntl.h @@ -157,7 +157,7 @@ struct f_owner_ex { __kernel_pid_t pid; }; -/* for F_[GET|SET]FL */ +/* for F_[GET|SET]FD */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* for posix fcntl() and lockf() */ -- 2.1.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932702AbbBBHnk (ORCPT ); Mon, 2 Feb 2015 02:43:40 -0500 Received: from sf2.bxl.stone.is ([5.134.1.239]:46307 "EHLO sf2.bxl.stone.is" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752247AbbBBHni (ORCPT ); Mon, 2 Feb 2015 02:43:38 -0500 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Message-ID: <54CF2A94.9080107@sandisk.com> Date: Mon, 02 Feb 2015 08:43:16 +0100 From: Bart Van Assche User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Arnd Bergmann CC: "David S. Miller" , Stephen Rothwell , linux-kernel , linux-api@vger.kernel.org Subject: [PATCH] fcntl.h: Fix a typo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Filter-ID: s0sct1PQhAABKnZB5plbIaifxhh9H8CvyWZ5cO7Cr67oLpI8PQdtNSJa+Wnpgb9PusrNMYneS5y2 1GVgYb/dblOnPPNE+P4CZH4ygn+M77x7X85u4b8bUaGkmsmWUNbr98OS6Si0BSzFF1Bcv3elLiqd HVqo/CZKPe2kfOoU4h2hwRuXI52ISZvY9VEs7Tqx6MeS3HqqtSAQ+Z67rVOc2et+EmCDiP5PUUAh sJ2SAFl8LN00Y2guNhbTSbk1sIe86WfpyDMQ7BEpOHbAqGR6IhrrPqUQKqgQMYVxvePfe4Gt9FNC HsEJ5NTCRakp0qYYJBCb950YHceA4kCRepv/LGbjO41FyBEqIaDudcVplPEkeSvk+whrjL6KfmzP nkZFXFSvBMKPheT8dzBPhDxw41cGAC3ICBAAn4PqevoKMQCAxVWL9klD2zRboOeK6ghVfqb5R4Ve muUI6bcEARsm0BLbrBlTgGld00W1Qg+G38L+4d+eMV8LXUi/9AimHG9EgvTq2rOXulcjwaIpbek0 RzoPwrFx31nY/waF59cyHVnzfnhi/Rx5yUhFf+8m8KZ33XTrcBLYQOwwLsx3+pMsPFr19nl+xqrp aPrkoUlCKIHpJe0+sNJ6A3rquhYv8CqeRSUyRzAu3szWPhvrS0JyuvIa/bpbL7YKW5kogEMytiIM 1mIku/B/OhzFzs/pbCl3cxw3qqhc+N6cuEg4XWh5FkTGTSuJBtSwNk8CIL6Ze6GH6wj2dN6uOYH0 ak9wDBSahlpPeazlo2ozDetuPDr51TEptQ8JOo+rLP6cLEItiR4= X-Report-Abuse-To: spam@sf1.bxl.stone.is X-Filter-Fingerprint: IFrWXGses7OKB5S5G8/dJdIz5bb8V0ykx8BnFBnunHBA3cTUQ1R++keuE7RDJ8Kg3RbMLUalw1oC mj99/u+PoqoVy8a3lsStJtAvpObFX0Wok1JBYnOLzfRIhlEHQynLUpndEJ0YoaLytXXo8BMTaX2p Mk7LBarWD9Fj4R3eIu5cOy/3Wm9qfF/CZNvP/2Kowv61T+KDYyYtREgszdyFwv8IxCB3p/oCKvxr eyISh3JGb7OS5oVgiO+kDxZrVPLz3MmEGC2PrUKqLq5WmHK+Nw== X-Originating-IP: 87.238.167.34 X-SpamExperts-Domain: stone.is X-SpamExperts-Username: 87.238.167.34 Authentication-Results: bxl.stone.is; auth=pass smtp.auth=87.238.167.34 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: SB/global_tokens (0.000553929949144) X-Recommended-Action: accept Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the source file fs/fcntl.c and also in the fcntl() man page one can see that the FD_CLOEXEC flag can be manipulated via F_GETFD and F_SETFD. Update the comment in accordingly. Signed-off-by: Bart Van Assche Cc: David Miller Cc: Stephen Rothwell --- include/uapi/asm-generic/fcntl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/fcntl.h b/include/uapi/asm-generic/fcntl.h index e063eff..584fa2b 100644 --- a/include/uapi/asm-generic/fcntl.h +++ b/include/uapi/asm-generic/fcntl.h @@ -157,7 +157,7 @@ struct f_owner_ex { __kernel_pid_t pid; }; -/* for F_[GET|SET]FL */ +/* for F_[GET|SET]FD */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* for posix fcntl() and lockf() */ -- 2.1.4