flag parameters: NONBLOCK in anon_inode_getfd
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Jul 2008 04:29:33 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:28 +0000 (10:47 -0700)
commit99829b832997d907c30669bfd17da32151e18f04
treea9d4b9a3e475891198de0f37d376bda053399bde
parent4006553b06306b34054529477b06b68a1c66249b
flag parameters: NONBLOCK in anon_inode_getfd

Building on the previous change to anon_inode_getfd, this patch introduces
support for handling of O_NONBLOCK in addition to the already supported
O_CLOEXEC.  Following patches will take advantage of this support.  As can be
seen, the additional support for supporting this functionality is minimal.

Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk.manpages@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/anon_inodes.c