]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: allow to clear F2FS_COMPR_FL flag
authorChao Yu <yuchao0@huawei.com>
Tue, 10 Mar 2020 12:50:09 +0000 (20:50 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 11 Mar 2020 15:25:38 +0000 (08:25 -0700)
commit80a8ce614f3702cd696c4dd45960cfa46d020e91
tree872b42add5d2d5489a02d3162083f6ea82420bf9
parentd9773cecbcfd26433e957c87dbe2608bcc7176f5
f2fs: allow to clear F2FS_COMPR_FL flag

If regular inode has no compressed cluster, allow using 'chattr -c'
to remove its compress flag, recovering it to a non-compressed file.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c