search for: inode_newsize_ok

Displaying 11 results from an estimated 11 matches for "inode_newsize_ok".

2023 May 29
4
[PATCH] 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. Signed-off-by: Lu?s Henriques <lhenriques at suse.de> --- fs/ocfs2/file.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index efb09de4343d..b173c36bcab3 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -...
2023 May 31
2
[PATCH] ocfs2: check new file size on fallocate call
On 5/29/23 11:26 PM, Lu?s Henriques 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> > --- > fs/ocfs2/file.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c > index efb09de4343d..b173c36bcab3 100644 &gt...
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 4.14-stable tree
...<ocfs2-devel at oss.oracle.com> commit 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 upstream. 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 at suse.de Signed-off-by: Lu?s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec a...
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 4.19-stable tree
...<ocfs2-devel at oss.oracle.com> commit 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 upstream. 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 at suse.de Signed-off-by: Lu?s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec a...
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 5.4-stable tree
...<ocfs2-devel at oss.oracle.com> commit 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 upstream. 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 at suse.de Signed-off-by: Lu?s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec a...
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 5.10-stable tree
...<ocfs2-devel at oss.oracle.com> commit 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 upstream. 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 at suse.de Signed-off-by: Lu?s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec a...
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 5.15-stable tree
...<ocfs2-devel at oss.oracle.com> commit 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 upstream. 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 at suse.de Signed-off-by: Lu?s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec a...
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 6.1-stable tree
...<ocfs2-devel at oss.oracle.com> commit 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 upstream. 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 at suse.de Signed-off-by: Lu?s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec a...
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 6.3-stable tree
...<ocfs2-devel at oss.oracle.com> commit 26a6ffff7de5dd369cdb12e38ba11db682f1dec0 upstream. 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 at suse.de Signed-off-by: Lu?s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec a...
2023 May 31
0
+ ocfs2-check-new-file-size-on-fallocate-call.patch added to mm-nonmm-unstable branch
...m> Subject: ocfs2: check new file size on fallocate call Date: Mon, 29 May 2023 16:26:45 +0100 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 at suse.de Signed-off-by: Lu??s Henriques <lhenriques at suse.de> Reviewed-by: Mark Fasheh <mark at fasheh.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Joel Becker <jlbec...
2023 May 31
0
[PATCH] ocfs2: check new file size on fallocate call
...: > >> On 5/29/23 11:26 PM, Lu?s Henriques 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> >>> --- >>> fs/ocfs2/file.c | 8 +++++++- >>> 1 file changed, 7 insertions(+), 1 deletion(-) >>> >>> diff --git a/fs/ocfs2/file.c b/fs...