fsnotify: Protect fsnotify_handle_inode_event from no-inode events
[sfrench/cifs-2.6.git] / include / linux / fsnotify_backend.h
index 035438fe4a435e849b4cdfd000307af0b065971b..b71dc788018e4755495f53ebb34702c33462de52 100644 (file)
@@ -136,6 +136,7 @@ struct mem_cgroup;
  * @dir:       optional directory associated with event -
  *             if @file_name is not NULL, this is the directory that
  *             @file_name is relative to.
+ *             Either @inode or @dir must be non-NULL.
  * @file_name: optional file name associated with event
  * @cookie:    inotify rename cookie
  *