On 2020/5/2 7:35, Eric Biggers wrote:
> From: Eric Biggers <[email protected]>
> 
> Remove the pointless string length checks.  Just use strcmp().
> 
> Signed-off-by: Eric Biggers <[email protected]>

Reviewed-by: Chao Yu <[email protected]>

[...]

> -                     } 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.

Thanks,

>                       } else {
> 


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to