diff options
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r-- | fs/btrfs/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 54454542ad40..f80df6b04648 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c | |||
@@ -4542,7 +4542,7 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) | |||
4542 | if (!capable(CAP_SYS_ADMIN)) | 4542 | if (!capable(CAP_SYS_ADMIN)) |
4543 | return -EPERM; | 4543 | return -EPERM; |
4544 | 4544 | ||
4545 | send_root = BTRFS_I(fdentry(mnt_file)->d_inode)->root; | 4545 | send_root = BTRFS_I(file_inode(mnt_file))->root; |
4546 | fs_info = send_root->fs_info; | 4546 | fs_info = send_root->fs_info; |
4547 | 4547 | ||
4548 | arg = memdup_user(arg_, sizeof(*arg)); | 4548 | arg = memdup_user(arg_, sizeof(*arg)); |