projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b5577e
)
constify btrfs_mksubvol()
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 21 Nov 2016 00:34:31 +0000
(19:34 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 6 Dec 2016 00:01:16 +0000
(19:01 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/ioctl.c
b/fs/btrfs/ioctl.c
index 7acbd2cf6192ee8d967236f4b3aeecf1bfc98658..8270f4338b35e84f3ce7ba36b0d9253a65f27a1d 100644
(file)
--- 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,