Re: [PATCH] Add FS_CLOSE_READ and FS_CLOSE_NOREAD flag to fsnotify

From: Andrew Morton
Date: Mon Sep 21 2015 - 17:37:28 EST


On Sun, 20 Sep 2015 23:07:35 +0200 Patrick Puzik <p.puzik91@xxxxxxxxx> 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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/