]> git.hungrycats.org Git - linux/commitdiff
zygo: btrfs: test BTRFS_LOGICAL_INO_ARGS_SEARCH_COMMIT_ROOT
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 5 Apr 2020 21:04:46 +0000 (17:04 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 6 Mar 2021 14:44:24 +0000 (09:44 -0500)
(cherry picked from commit 089c927a4b8edde89903667daef4ff7edf5f5428)
(cherry picked from commit 02a74429e93bedfe70218a8f164f227ef14ef7ad)

fs/btrfs/ioctl.c

index d5aace3e9f43914c38986b7103549d6d1dac0733..249c740754fde6ec6e458f83e673d65770c85976 100644 (file)
@@ -3915,7 +3915,7 @@ static long btrfs_ioctl_logical_to_ino(struct btrfs_fs_info *fs_info,
        struct btrfs_data_container *inodes = NULL;
        struct btrfs_path *path = NULL;
        bool ignore_offset = false;
-       bool search_commit_root = false;
+       bool search_commit_root = true;
 
        if (!capable(CAP_SYS_ADMIN))
                return -EPERM;