constify security_path_truncate()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2016-03-25 14:22:01 -04:00
parent 2c7661ff41
commit 81f4c50607
5 changed files with 6 additions and 6 deletions

View file

@ -1366,7 +1366,7 @@ union security_list_options {
int (*path_rmdir)(struct path *dir, struct dentry *dentry);
int (*path_mknod)(struct path *dir, struct dentry *dentry,
umode_t mode, unsigned int dev);
int (*path_truncate)(struct path *path);
int (*path_truncate)(const struct path *path);
int (*path_symlink)(struct path *dir, struct dentry *dentry,
const char *old_name);
int (*path_link)(struct dentry *old_dentry, struct path *new_dir,