lkml.org 
[lkml]   [2019]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH v2] f2fs: support data compression
From
Date
On 2019/11/1 0:01, Jaegeuk Kim wrote:
>> +f2fs-$(CONFIG_FS_COMPRESSION) += compress.o
> CONFIG_F2FS_FS_COMPRESSION?

Fixed.

>
>> +#ifdef F2FS_FS_COMPRESSION
> Do we need this?

Ditto.

>
>> +bool f2fs_is_compress_backend_ready(struct inode *inode)
>> +{
>> + if (!f2fs_compressed_file(inode))
>> + return true;
> #ifdef F2FS_FS_COMPRESSION
>> + return f2fs_cops[F2FS_I(inode)->i_compress_algorithm];
> #else
> return -EOPNOTSUPP;
> #endif

Ditto, I kept return value as boolean.

>

\
 
 \ /
  Last update: 2019-11-01 11:06    [W:0.037 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site