[PATCH 0/3] Check content after reading from quota file

Zhihao Cheng posted 3 patches 3 years, 7 months ago
There is a newer version of this series
fs/quota/quota_tree.c | 81 ++++++++++++++++++++++++++++++++++++-------
1 file changed, 69 insertions(+), 12 deletions(-)
[PATCH 0/3] Check content after reading from quota file
Posted by Zhihao Cheng 3 years, 7 months ago
1. Fix invalid memory access of dquot.
2. Cleanup, replace places of block number checking with helper function.
3. Add more sanity checking for the content read from quota file.

Zhihao Cheng (3):
  quota: Check next/prev free block number after reading from quota file
  quota: Replace all block number checking with helper function
  quota: Add more checking after reading from quota file

 fs/quota/quota_tree.c | 81 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 69 insertions(+), 12 deletions(-)

-- 
2.31.1
Re: [PATCH 0/3] Check content after reading from quota file
Posted by Zhihao Cheng 3 years, 6 months ago
在 2022/8/20 19:05, Zhihao Cheng 写道:

friendly ping.

> 1. Fix invalid memory access of dquot.
> 2. Cleanup, replace places of block number checking with helper function.
> 3. Add more sanity checking for the content read from quota file.
>
> Zhihao Cheng (3):
>    quota: Check next/prev free block number after reading from quota file
>    quota: Replace all block number checking with helper function
>    quota: Add more checking after reading from quota file
>
>   fs/quota/quota_tree.c | 81 ++++++++++++++++++++++++++++++++++++-------
>   1 file changed, 69 insertions(+), 12 deletions(-)
>

Re: [PATCH 0/3] Check content after reading from quota file
Posted by Jan Kara 3 years, 6 months ago
On Tue 13-09-22 09:16:11, Zhihao Cheng wrote:
> 在 2022/8/20 19:05, Zhihao Cheng 写道:
> 
> friendly ping.

I'm sorry for the delay. Somehow our corporate spam filter decided to
discard your patches. I'll have a look into your fixes shortly.

								Honza

> > 1. Fix invalid memory access of dquot.
> > 2. Cleanup, replace places of block number checking with helper function.
> > 3. Add more sanity checking for the content read from quota file.
> > 
> > Zhihao Cheng (3):
> >    quota: Check next/prev free block number after reading from quota file
> >    quota: Replace all block number checking with helper function
> >    quota: Add more checking after reading from quota file
> > 
> >   fs/quota/quota_tree.c | 81 ++++++++++++++++++++++++++++++++++++-------
> >   1 file changed, 69 insertions(+), 12 deletions(-)
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR