diff options
Diffstat (limited to 'fs')
-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 744aabf11ce5..1b554b47e814 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -3290,7 +3290,7 @@ static long btrfs_ioctl_ino_to_path(struct btrfs_root *root, void __user *arg) | |||
3290 | struct inode_fs_paths *ipath = NULL; | 3290 | struct inode_fs_paths *ipath = NULL; |
3291 | struct btrfs_path *path; | 3291 | struct btrfs_path *path; |
3292 | 3292 | ||
3293 | if (!capable(CAP_SYS_ADMIN)) | 3293 | if (!capable(CAP_DAC_READ_SEARCH)) |
3294 | return -EPERM; | 3294 | return -EPERM; |
3295 | 3295 | ||
3296 | path = btrfs_alloc_path(); | 3296 | path = btrfs_alloc_path(); |