X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Finotify.h;h=267c88b5f742592b69dabf70bfcdfb2c471ec706;hb=6ff8d8ec06690f4011a6c3ad9e0759b9094f0601;hp=ee5b239092edbb03dee1765dd7919246bf4a2400;hpb=5833f1420b96c4f9b193b7f2fcbc0003dc032fe8;p=linux-2.6 diff --git a/include/linux/inotify.h b/include/linux/inotify.h index ee5b239092..267c88b5f7 100644 --- a/include/linux/inotify.h +++ b/include/linux/inotify.h @@ -47,6 +47,8 @@ struct inotify_event { #define IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO) /* moves */ /* special flags */ +#define IN_ONLYDIR 0x01000000 /* only watch the path if it is a directory */ +#define IN_DONT_FOLLOW 0x02000000 /* don't follow a sym link */ #define IN_MASK_ADD 0x20000000 /* add to the mask of an already existing watch */ #define IN_ISDIR 0x40000000 /* event occurred against dir */ #define IN_ONESHOT 0x80000000 /* only send event once */