diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-11-21 01:34:31 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-06 01:01:16 +0100 |
commit | 92872094a163b6b6954c46b3d1e36ab9c8b2b32c (patch) | |
tree | ae5e0cc8eb1a17e5eb226e04f8e293c7077d98aa | |
parent | autofs: constify find_autofs_mount() callback (diff) | |
download | linux-92872094a163b6b6954c46b3d1e36ab9c8b2b32c.tar.xz linux-92872094a163b6b6954c46b3d1e36ab9c8b2b32c.zip |
constify btrfs_mksubvol()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 7acbd2cf6192..8270f4338b35 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -836,7 +836,7 @@ static inline int btrfs_may_create(struct inode *dir, struct dentry *child) * sys_mkdirat and vfs_mkdir, but we only do a single component lookup * inside this filesystem so it's quite a bit simpler. */ -static noinline int btrfs_mksubvol(struct path *parent, +static noinline int btrfs_mksubvol(const struct path *parent, char *name, int namelen, struct btrfs_root *snap_src, u64 *async_transid, bool readonly, |