diff options
author | Eric Biggers <ebiggers@google.com> | 2022-12-23 12:36:38 -0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2023-01-09 19:06:09 -0800 |
commit | db85d14dc5c566879a01c4928b2f6f4d5cf0f939 (patch) | |
tree | 9106fdb1ba7bca9d8c805f21757141010517b557 /fs/ext4 | |
parent | 4fa512ce70515ac0d59e30a4b7ae0888b117d8a2 (diff) | |
download | linux-stable-db85d14dc5c566879a01c4928b2f6f4d5cf0f939.tar.gz linux-stable-db85d14dc5c566879a01c4928b2f6f4d5cf0f939.tar.bz2 linux-stable-db85d14dc5c566879a01c4928b2f6f4d5cf0f939.zip |
ext4: allow verity with fs block size < PAGE_SIZE
Now that the needed changes have been made to fs/buffer.c, ext4 is ready
to support the verity feature when the filesystem block size is less
than the page size. So remove the mount-time check that prevented this.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://lore.kernel.org/r/20221223203638.41293-12-ebiggers@kernel.org
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/super.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 260c1b3e3ef2..b31db521d6bf 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -5336,11 +5336,6 @@ static int __ext4_fill_super(struct fs_context *fc, struct super_block *sb) } } - if (ext4_has_feature_verity(sb) && sb->s_blocksize != PAGE_SIZE) { - ext4_msg(sb, KERN_ERR, "Unsupported blocksize for fs-verity"); - goto failed_mount_wq; - } - /* * Get the # of file system overhead blocks from the * superblock if present. |