summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-23 10:27:21 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-28 15:41:32 -0700
commit01b960e94a58d91518d5dd7001c5cd0c57335251 (patch)
tree614a05a74202da862fa25f4def79d36404807545 /fs/f2fs/file.c
parent06957e8fe6945e2d3c4ab01d36e52bf31a93a05c (diff)
downloadop-kernel-dev-01b960e94a58d91518d5dd7001c5cd0c57335251.zip
op-kernel-dev-01b960e94a58d91518d5dd7001c5cd0c57335251.tar.gz
f2fs: add f2fs_may_inline_{data, dentry}
This patch adds f2fs_may_inline_data and f2fs_may_inline_dentry. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r--fs/f2fs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 3d6de54..ffd9b7e 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -560,7 +560,7 @@ void f2fs_truncate(struct inode *inode)
trace_f2fs_truncate(inode);
/* we should check inline_data size */
- if (f2fs_has_inline_data(inode) && !f2fs_may_inline(inode)) {
+ if (f2fs_has_inline_data(inode) && !f2fs_may_inline_data(inode)) {
if (f2fs_convert_inline_inode(inode))
return;
}
OpenPOWER on IntegriCloud