diff options
author | 2023-05-29 16:26:45 +0100 | |
---|---|---|
committer | 2023-06-12 11:31:52 -0700 | |
commit | 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 (patch) | |
tree | 74709b3ce0d46c4c577df6b40dc2f96c406e94c4 /tools/perf/scripts/python/task-analyzer.py | |
parent | mailmap: add entry for John Keeping (diff) | |
download | wireguard-linux-26a6ffff7de5dd369cdb12e38ba11db682f1dec0.tar.xz wireguard-linux-26a6ffff7de5dd369cdb12e38ba11db682f1dec0.zip |
ocfs2: check new file size on fallocate call
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.
Link: https://lkml.kernel.org/r/20230529152645.32680-1-lhenriques@suse.de
Signed-off-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Mark Fasheh <mark@fasheh.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions