Re: [PATCH] ocfs2: check new file size on fallocate call
From: Mark Fasheh
Date: Tue May 30 2023 - 23:32:37 EST
On Mon, May 29, 2023 at 8:26 AM Luís Henriques <lhenriques@xxxxxxx> 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@xxxxxxx>
Looks good, thanks Luis.
Reviewed-by: Mark Fasheh <mark@xxxxxxxxxx>