diff options
-rw-r--r-- | fs/f2fs/file.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 6cb3c6cae7cd..21f7108ca2ba 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -1822,11 +1822,6 @@ static int f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) if (iflags & F2FS_NOCOMP_FL) return -EINVAL; if (iflags & F2FS_COMPR_FL) { - int err = f2fs_convert_inline_inode(inode); - - if (err) - return err; - if (!f2fs_may_compress(inode)) return -EINVAL; |