diff options
author | Mickaël Salaün <mic@digikod.net> | 2016-11-14 22:14:35 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-06 00:55:47 +0100 |
commit | 640eb7e7b5242af53c456552a526d0080e6333f8 (patch) | |
tree | 249edc05fdbe5c421f48f676d43ed753dada65c3 /fs/notify/inotify/inotify.h | |
parent | Linux 4.9-rc7 (diff) | |
download | linux-640eb7e7b5242af53c456552a526d0080e6333f8.tar.xz linux-640eb7e7b5242af53c456552a526d0080e6333f8.zip |
fs: Constify path_is_under()'s arguments
The function path_is_under() doesn't modify the paths pointed by its
arguments but only browse them. Constifying this pointers make a cleaner
interface to be used by (future) code which may only have access to
const struct path pointers (e.g. LSM hooks).
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/notify/inotify/inotify.h')
0 files changed, 0 insertions, 0 deletions