Messages in this thread | | | Date | Mon, 21 Sep 2015 14:37:22 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] Add FS_CLOSE_READ and FS_CLOSE_NOREAD flag to fsnotify |
| |
On Sun, 20 Sep 2015 23:07:35 +0200 Patrick Puzik <p.puzik91@gmail.com> wrote:
> Attached is a patch which is a preparation for the later support of an event notification, > when an unreadable or readable file was closed.
People will want to see the whole patchset.
> --- a/include/linux/fsnotify_backend.h > +++ b/include/linux/fsnotify_backend.h > @@ -28,6 +28,8 @@ > #define FS_ATTRIB 0x00000004 /* Metadata changed */ > #define FS_CLOSE_WRITE 0x00000008 /* Writtable file was closed */ > #define FS_CLOSE_NOWRITE 0x00000010 /* Unwrittable file closed */ > +#define FS_CLOSE_READ 0x00000011 /* Unreadable file closed */ > +#define FS_CLOSE_NOREAD 0x00000012 /* Readable file was closed */
The comments appear to be reversed.
| |