Message ID | 20221028224539.171818-5-ebiggers@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fsverity: support for non-4K pages | expand |
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index b72c893b5374f..1b507fa183957 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -2043,8 +2043,7 @@ int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, static inline loff_t f2fs_readpage_limit(struct inode *inode) { - if (IS_ENABLED(CONFIG_FS_VERITY) && - (IS_VERITY(inode) || f2fs_verity_in_progress(inode))) + if (IS_ENABLED(CONFIG_FS_VERITY) && IS_VERITY(inode)) return inode->i_sb->s_maxbytes; return i_size_read(inode);