Re: [PATCH] vfs: renumber FMODE_NONOTIFY and add to uniqueness check

2014-11-21 Thread David Miller
From: David Drysdale Date: Fri, 21 Nov 2014 09:41:22 + > Although FMODE_NONOTIFY is only used internally in the kernel it is in > the same numbering space as the other O_* flags, as indicated by the > comment at the top of include/uapi/asm-generic/fcntl.h (and its use > in fs/notify/fanotify/

Re: [PATCH] vfs: renumber FMODE_NONOTIFY and add to uniqueness check

2014-11-21 Thread Heinrich Schuchardt
On 21.11.2014 10:41, David Drysdale wrote: Although FMODE_NONOTIFY is only used internally in the kernel it is in the same numbering space as the other O_* flags, as indicated by the comment at the top of include/uapi/asm-generic/fcntl.h (and its use in fs/notify/fanotify/fanotify_user.c). Howev

[PATCH] vfs: renumber FMODE_NONOTIFY and add to uniqueness check

2014-11-21 Thread David Drysdale
Although FMODE_NONOTIFY is only used internally in the kernel it is in the same numbering space as the other O_* flags, as indicated by the comment at the top of include/uapi/asm-generic/fcntl.h (and its use in fs/notify/fanotify/fanotify_user.c). However, its current value clashes with the value