Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-02-01 Thread Chao Yu
On 2018/2/1 5:57, Jaegeuk Kim wrote: > On 01/31, Chao Yu wrote: >> On 2018/1/31 11:49, Jaegeuk Kim wrote: >>> On 01/31, Chao Yu wrote: On 2018/1/31 10:36, Jaegeuk Kim wrote: > On 01/31, Chao Yu wrote: >> On 2018/1/31 9:35, Jaegeuk Kim wrote: >>> On 01/29, Chao Yu wrote: Ad

Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-01-31 Thread Jaegeuk Kim
On 01/31, Chao Yu wrote: > On 2018/1/31 11:49, Jaegeuk Kim wrote: > > On 01/31, Chao Yu wrote: > >> On 2018/1/31 10:36, Jaegeuk Kim wrote: > >>> On 01/31, Chao Yu wrote: > On 2018/1/31 9:35, Jaegeuk Kim wrote: > > On 01/29, Chao Yu wrote: > >> Add missing sanity check for quota sysfile

Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-01-30 Thread Chao Yu
On 2018/1/31 11:49, Jaegeuk Kim wrote: > On 01/31, Chao Yu wrote: >> On 2018/1/31 10:36, Jaegeuk Kim wrote: >>> On 01/31, Chao Yu wrote: On 2018/1/31 9:35, Jaegeuk Kim wrote: > On 01/29, Chao Yu wrote: >> Add missing sanity check for quota sysfile ino. > > We don't need to limi

Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-01-30 Thread Jaegeuk Kim
On 01/31, Chao Yu wrote: > On 2018/1/31 10:36, Jaegeuk Kim wrote: > > On 01/31, Chao Yu wrote: > >> On 2018/1/31 9:35, Jaegeuk Kim wrote: > >>> On 01/29, Chao Yu wrote: > Add missing sanity check for quota sysfile ino. > >>> > >>> We don't need to limit the specific inode numbers for quota fil

Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-01-30 Thread Chao Yu
On 2018/1/31 10:36, Jaegeuk Kim wrote: > On 01/31, Chao Yu wrote: >> On 2018/1/31 9:35, Jaegeuk Kim wrote: >>> On 01/29, Chao Yu wrote: Add missing sanity check for quota sysfile ino. >>> >>> We don't need to limit the specific inode numbers for quota files, since >>> we may be able to set any

Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-01-30 Thread Jaegeuk Kim
On 01/31, Chao Yu wrote: > On 2018/1/31 9:35, Jaegeuk Kim wrote: > > On 01/29, Chao Yu wrote: > >> Add missing sanity check for quota sysfile ino. > > > > We don't need to limit the specific inode numbers for quota files, since > > we may be able to set any inode numbers later. How about checkint

Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-01-30 Thread Chao Yu
On 2018/1/31 9:35, Jaegeuk Kim wrote: > On 01/29, Chao Yu wrote: >> Add missing sanity check for quota sysfile ino. > > We don't need to limit the specific inode numbers for quota files, since > we may be able to set any inode numbers later. How about checkint the > numbers are allocated as quota?

Re: [PATCH] f2fs: add sanity check for quota sysfile ino

2018-01-30 Thread Jaegeuk Kim
On 01/29, Chao Yu wrote: > Add missing sanity check for quota sysfile ino. We don't need to limit the specific inode numbers for quota files, since we may be able to set any inode numbers later. How about checkint the numbers are allocated as quota? > > Signed-off-by: Chao Yu > --- > fs/f2fs/s