On 08/01, Joe Perches wrote:
> On Mon, 2022-08-01 at 11:23 -0700, Christoph Hellwig wrote:
> > On Mon, Aug 01, 2022 at 05:22:02PM +0800, studentxs...@163.com wrote:
> > > From: Xie Shaowen <studentxs...@163.com>
> > > 
> > > replace kmalloc with f2fs_kmalloc to keep f2fs code consistency.
> > 
> > For that removing f2fs_kmalloc entirely would be way better.
> 
> Dunno, maybe doubtful as there's a specific "fault injector" test
> built around f2fs_<foo>alloc. (CONFIG_F2FS_FAULT_INJECTION)

Yes, it's very useful to run the test checking the ENOMEM case.

> 
> For a student lesson, it would significantly better to compile any
> patch, especially to avoid broken patches, before submitting them.
> 


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to