diff options
author | Daeho Jeong <daehojeong@google.com> | 2020-09-08 11:44:11 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-09-11 11:11:26 -0700 |
commit | 78134d03511e789f3cba1260eb9fb9c55cd5eb7d (patch) | |
tree | 5773be636e4a5a728b2e7f18961bf485e66ddccd /fs/f2fs/data.c | |
parent | c2759ebaf7e8f5510d0a77bd5003a20375ea6ed5 (diff) |
f2fs: change return value of f2fs_disable_compressed_file to bool
The returned integer is not required anywhere. So we need to change
the return value to bool type.
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index c31ec408bd4f..411029ec4fe8 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -3996,7 +3996,7 @@ static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, if (ret) return ret; - if (f2fs_disable_compressed_file(inode)) + if (!f2fs_disable_compressed_file(inode)) return -EINVAL; ret = check_swap_activate(sis, file, span); |