summaryrefslogtreecommitdiff
path: root/scripts/Makefile.modpost
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2021-08-10 18:23:44 +0300
committerDavid Sterba <dsterba@suse.com>2021-09-07 15:28:46 +0300
commit6f93e834fa7c5faa0372e46828b4b2a966ac61d7 (patch)
tree280fe6ddf67af85997344e5bb515a90ea25ceefd /scripts/Makefile.modpost
parent0d977e0eba234e01a60bdde27314dc21374201b3 (diff)
downloadlinux-6f93e834fa7c5faa0372e46828b4b2a966ac61d7.tar.xz
btrfs: fix upper limit for max_inline for page size 64K
The mount option max_inline ranges from 0 to the sectorsize (which is now equal to page size). But we parse the mount options too early and before the actual sectorsize is read from the superblock. So the upper limit of max_inline is unaware of the actual sectorsize and is limited by the temporary sectorsize 4096, even on a system where the default sectorsize is 64K. Fix this by reading the superblock sectorsize before the mount option parse. Reported-by: Alexander Tsvetkov <alexander.tsvetkov@oracle.com> CC: stable@vger.kernel.org # 5.4+ Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions