From: Bart Van Assche <bart.vanassche@sandisk.com>
To: "David S. Miller" <davem@davemloft.net>,
Stephen Rothwell <sfr@canb.auug.org.au>
Cc: netdev@vger.kernel.org
Subject: [PATCH] fcntl.h: Fix a typo
Date: Sun, 01 Feb 2015 13:07:21 +0100 [thread overview]
Message-ID: <54CE16F9.7030706@sandisk.com> (raw)
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 <fcntl.h> accordingly.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
---
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
next reply other threads:[~2015-02-01 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-01 12:07 Bart Van Assche [this message]
2015-02-01 20:15 ` [PATCH] fcntl.h: Fix a typo David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54CE16F9.7030706@sandisk.com \
--to=bart.vanassche@sandisk.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).