]> git.hungrycats.org Git - linux/commitdiff
btrfs: bump LOGICAL_INO_V2 size limit to 1G
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Thu, 24 Dec 2020 19:09:21 +0000 (14:09 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Tue, 29 Dec 2020 02:58:31 +0000 (21:58 -0500)
(cherry picked from commit 958b47f36b155b6d255f13f5a4213e0559ba5d68)

fs/btrfs/ioctl.c

index c23dff7d22c64fa47a96dbc7da386574bb43dcf9..eb36ff0778cb502030f43665281bbcf4d98119f8 100644 (file)
@@ -3880,7 +3880,7 @@ static long btrfs_ioctl_logical_to_ino(struct btrfs_fs_info *fs_info,
                        ret = -EINVAL;
                        goto out_loi;
                }
-               size = min_t(u32, loi->size, SZ_16M);
+               size = min_t(u32, loi->size, SZ_1G);
        }
 
        path = btrfs_alloc_path();