On 05/06, Chao Yu wrote:
> On 2020/5/2 7:35, Eric Biggers wrote:
> > From: Eric Biggers <ebigg...@google.com>
> > 
> > Remove the pointless string length checks.  Just use strcmp().
> > 
> > Signed-off-by: Eric Biggers <ebigg...@google.com>
> 
> Reviewed-by: Chao Yu <yuch...@huawei.com>
> 
> [...]
> 
> > -                   } else if (strlen(name) == 4 &&
> > -                                   !strcmp(name, "zstd")) {
> > +                   } else if (!strcmp(name, "zstd")) {
> >                             F2FS_OPTION(sbi).compress_algorithm =
> >                                                             COMPRESS_ZSTD;
> 
> lzo-rle will be added, Jaegeuk, please notice that the late applied patch
> should adjust a bit here.

Sure.

> 
> Thanks,
> 
> >                     } else {
> > 
> 
> 
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


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

Reply via email to