diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-06-16 18:56:51 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-06-18 21:33:11 +0200 |
commit | 99bbe307013059951368d12f5454d34568de4850 (patch) | |
tree | fb0801ac1c324516ab07179cf3d594e4360b258b /fs/f2fs/compress.c | |
parent | Merge branch 'work.epoll' of git://git.kernel.org/pub/scm/linux/kernel/git/vi... (diff) | |
download | linux-99bbe307013059951368d12f5454d34568de4850.tar.xz linux-99bbe307013059951368d12f5454d34568de4850.zip |
f2fs: avoid checkpatch error
ERROR:INITIALISED_STATIC: do not initialise statics to NULL
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/compress.c')
-rw-r--r-- | fs/f2fs/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 1e02a8c106b0..4dca9e456734 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -506,7 +506,7 @@ bool f2fs_is_compress_backend_ready(struct inode *inode) return f2fs_cops[F2FS_I(inode)->i_compress_algorithm]; } -static mempool_t *compress_page_pool = NULL; +static mempool_t *compress_page_pool; static int num_compress_pages = 512; module_param(num_compress_pages, uint, 0444); MODULE_PARM_DESC(num_compress_pages, |