[Ocfs2-devel] [PATCH] ocfs2: check new file size on fallocate call
Mark Fasheh
mark at fasheh.com
Wed May 31 03:32:20 UTC 2023
On Mon, May 29, 2023 at 8:26 AM Luís Henriques <lhenriques at suse.de> wrote:
>
> When changing a file size with fallocate() the new size isn't being
> checked. In particular, the FSIZE ulimit isn't being checked, which makes
> fstest generic/228 fail. Simply adding a call to inode_newsize_ok() fixes
> this issue.
>
> Signed-off-by: Luís Henriques <lhenriques at suse.de>
Looks good, thanks Luis.
Reviewed-by: Mark Fasheh <mark at fasheh.com>
More information about the Ocfs2-devel
mailing list