lkml.org 
[lkml]   [2015]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.




\
 
 \ /
  Last update: 2015-09-22 00:01    [W:0.059 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site