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
6d0379ec
Commit
6d0379ec
authored
Jun 16, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: more open-coded file_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
3058dca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fs/btrfs/ioctl.c
fs/btrfs/ioctl.c
+4
-4
No files found.
fs/btrfs/ioctl.c
View file @
6d0379ec
...
...
@@ -3881,7 +3881,7 @@ static long btrfs_ioctl_qgroup_limit(struct file *file, void __user *arg)
static
long
btrfs_ioctl_quota_rescan
(
struct
file
*
file
,
void
__user
*
arg
)
{
struct
btrfs_root
*
root
=
BTRFS_I
(
f
dentry
(
file
)
->
d_inode
)
->
root
;
struct
btrfs_root
*
root
=
BTRFS_I
(
f
ile_inode
(
file
)
)
->
root
;
struct
btrfs_ioctl_quota_rescan_args
*
qsa
;
int
ret
;
...
...
@@ -3914,7 +3914,7 @@ static long btrfs_ioctl_quota_rescan(struct file *file, void __user *arg)
static
long
btrfs_ioctl_quota_rescan_status
(
struct
file
*
file
,
void
__user
*
arg
)
{
struct
btrfs_root
*
root
=
BTRFS_I
(
f
dentry
(
file
)
->
d_inode
)
->
root
;
struct
btrfs_root
*
root
=
BTRFS_I
(
f
ile_inode
(
file
)
)
->
root
;
struct
btrfs_ioctl_quota_rescan_args
*
qsa
;
int
ret
=
0
;
...
...
@@ -4020,7 +4020,7 @@ static long btrfs_ioctl_set_received_subvol(struct file *file,
static
int
btrfs_ioctl_get_fslabel
(
struct
file
*
file
,
void
__user
*
arg
)
{
struct
btrfs_root
*
root
=
BTRFS_I
(
f
dentry
(
file
)
->
d_inode
)
->
root
;
struct
btrfs_root
*
root
=
BTRFS_I
(
f
ile_inode
(
file
)
)
->
root
;
const
char
*
label
=
root
->
fs_info
->
super_copy
->
label
;
size_t
len
=
strnlen
(
label
,
BTRFS_LABEL_SIZE
);
int
ret
;
...
...
@@ -4039,7 +4039,7 @@ static int btrfs_ioctl_get_fslabel(struct file *file, void __user *arg)
static
int
btrfs_ioctl_set_fslabel
(
struct
file
*
file
,
void
__user
*
arg
)
{
struct
btrfs_root
*
root
=
BTRFS_I
(
f
dentry
(
file
)
->
d_inode
)
->
root
;
struct
btrfs_root
*
root
=
BTRFS_I
(
f
ile_inode
(
file
)
)
->
root
;
struct
btrfs_super_block
*
super_block
=
root
->
fs_info
->
super_copy
;
struct
btrfs_trans_handle
*
trans
;
char
label
[
BTRFS_LABEL_SIZE
];
...
...
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