Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
52f75f4f
Commit
52f75f4f
authored
Feb 14, 2017
by
David Sterba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: constify name of subvolume in creation helpers
Signed-off-by:
David Sterba
<
dsterba@suse.com
>
parent
14a3357b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/btrfs/ioctl.c
fs/btrfs/ioctl.c
+3
-3
No files found.
fs/btrfs/ioctl.c
View file @
52f75f4f
...
...
@@ -434,7 +434,7 @@ int btrfs_is_empty_uuid(u8 *uuid)
static
noinline
int
create_subvol
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
char
*
name
,
int
namelen
,
c
onst
c
har
*
name
,
int
namelen
,
u64
*
async_transid
,
struct
btrfs_qgroup_inherit
*
inherit
)
{
...
...
@@ -832,7 +832,7 @@ static inline int btrfs_may_create(struct inode *dir, struct dentry *child)
* inside this filesystem so it's quite a bit simpler.
*/
static
noinline
int
btrfs_mksubvol
(
const
struct
path
*
parent
,
char
*
name
,
int
namelen
,
c
onst
c
har
*
name
,
int
namelen
,
struct
btrfs_root
*
snap_src
,
u64
*
async_transid
,
bool
readonly
,
struct
btrfs_qgroup_inherit
*
inherit
)
...
...
@@ -1625,7 +1625,7 @@ static noinline int btrfs_ioctl_resize(struct file *file,
}
static
noinline
int
btrfs_ioctl_snap_create_transid
(
struct
file
*
file
,
char
*
name
,
unsigned
long
fd
,
int
subvol
,
c
onst
c
har
*
name
,
unsigned
long
fd
,
int
subvol
,
u64
*
transid
,
bool
readonly
,
struct
btrfs_qgroup_inherit
*
inherit
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment