* [PATCH] fcntl.h: Fix a typo @ 2015-02-02 7:43 Bart Van Assche [not found] ` <54CF2A94.9080107-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Bart Van Assche @ 2015-02-02 7:43 UTC (permalink / raw) To: Arnd Bergmann Cc: David S. Miller, Stephen Rothwell, linux-kernel, linux-api-u79uwXL29TY76Z2rM5mHXA 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-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> Cc: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> Cc: Stephen Rothwell <sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org> --- 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 ^ permalink raw reply related [flat|nested] 2+ messages in thread
[parent not found: <54CF2A94.9080107-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH] fcntl.h: Fix a typo [not found] ` <54CF2A94.9080107-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> @ 2015-02-02 8:18 ` Stephen Rothwell 0 siblings, 0 replies; 2+ messages in thread From: Stephen Rothwell @ 2015-02-02 8:18 UTC (permalink / raw) To: Bart Van Assche Cc: Arnd Bergmann, David S. Miller, linux-kernel, linux-api-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1301 bytes --] Hi Bart, On Mon, 02 Feb 2015 08:43:16 +0100 Bart Van Assche <bart.vanassche@sandisk.com> wrote: > > 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-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> > Cc: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> > Cc: Stephen Rothwell <sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org> > --- > 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 Looks good to me Acked-by: Stephen Rothwell <sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org> -- Cheers, Stephen Rothwell sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-02 8:18 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-02-02 7:43 [PATCH] fcntl.h: Fix a typo Bart Van Assche [not found] ` <54CF2A94.9080107-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> 2015-02-02 8:18 ` Stephen Rothwell
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).