diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-26 13:51:03 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-26 13:51:03 -0400 |
commit | e43e9c339a78a0978f4ce473f645cedc05e6a57c (patch) | |
tree | 1c9ec4b07f5c6e734c749ff1ed1e1055b35ef466 /include/linux/fsnotify_backend.h | |
parent | 25b229dff4ffffd0fad2dd409faf1e2ae4d94866 (diff) | |
download | lwn-e43e9c339a78a0978f4ce473f645cedc05e6a57c.tar.gz lwn-e43e9c339a78a0978f4ce473f645cedc05e6a57c.zip |
fsnotify: switch send_to_group() and ->handle_event to const struct qstr *
note that conditions surrounding accesses to dname in audit_watch_handle_event()
and audit_mark_handle_event() guarantee that dname won't have been NULL.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r-- | include/linux/fsnotify_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 7eb7821766d5..c28f6ed1f59b 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h @@ -117,7 +117,7 @@ struct fsnotify_ops { int (*handle_event)(struct fsnotify_group *group, struct inode *inode, u32 mask, const void *data, int data_type, - const unsigned char *file_name, u32 cookie, + const struct qstr *file_name, u32 cookie, struct fsnotify_iter_info *iter_info); void (*free_group_priv)(struct fsnotify_group *group); void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group); |