aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorLuís Henriques <[email protected]>2023-05-29 16:26:45 +0100
committerAndrew Morton <[email protected]>2023-06-12 11:31:52 -0700
commit26a6ffff7de5dd369cdb12e38ba11db682f1dec0 (patch)
tree74709b3ce0d46c4c577df6b40dc2f96c406e94c4 /lib/mpi/mpi-bit.c
parent0e4d4ef972aaa237025f994911c370a0e8e07d27 (diff)
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/[email protected] Signed-off-by: Luís Henriques <[email protected]> Reviewed-by: Mark Fasheh <[email protected]> Reviewed-by: Joseph Qi <[email protected]> Cc: Joel Becker <[email protected]> Cc: Junxiao Bi <[email protected]> Cc: Changwei Ge <[email protected]> Cc: Gang He <[email protected]> Cc: Jun Piao <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions