summaryrefslogtreecommitdiff
path: root/fs/notify/fanotify/fanotify.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-21 04:19:09 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-06 02:58:31 +0300
commit3cd5eca8d7a2fe43098df4c33a1272fe6945cac9 (patch)
tree413258b5b34912c079c2a6b032f59c69e319d4df /fs/notify/fanotify/fanotify.h
parent640eb7e7b5242af53c456552a526d0080e6333f8 (diff)
downloadlinux-3cd5eca8d7a2fe43098df4c33a1272fe6945cac9.tar.xz
fsnotify: constify 'data' passed to ->handle_event()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/notify/fanotify/fanotify.h')
-rw-r--r--fs/notify/fanotify/fanotify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fanotify/fanotify.h b/fs/notify/fanotify/fanotify.h
index 2a5fb14115df..4500a74f8d38 100644
--- a/fs/notify/fanotify/fanotify.h
+++ b/fs/notify/fanotify/fanotify.h
@@ -47,4 +47,4 @@ static inline struct fanotify_event_info *FANOTIFY_E(struct fsnotify_event *fse)
}
struct fanotify_event_info *fanotify_alloc_event(struct inode *inode, u32 mask,
- struct path *path);
+ const struct path *path);