Re: [PATCH] f2fs: return error number for quota_write

2017-10-16 Thread Jaegeuk Kim
On 10/16, Chao Yu wrote: > Hi Jaegeuk, > > On 2017/10/13 7:15, Jaegeuk Kim wrote: > > This patch returns an error number to quota_write in order for quota to > > handle > > it correctly. > > We should return error number like __generic_file_write_iter, right? it > needs to return written bytes i

Re: [PATCH] f2fs: return error number for quota_write

2017-10-15 Thread Chao Yu
Hi Jaegeuk, On 2017/10/13 7:15, Jaegeuk Kim wrote: > This patch returns an error number to quota_write in order for quota to handle > it correctly. We should return error number like __generic_file_write_iter, right? it needs to return written bytes if we have written one page or more, otherwise