diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-04-23 10:27:21 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-05-28 15:41:32 -0700 |
commit | 01b960e94a58d91518d5dd7001c5cd0c57335251 (patch) | |
tree | 614a05a74202da862fa25f4def79d36404807545 /fs/f2fs/f2fs.h | |
parent | 06957e8fe6945e2d3c4ab01d36e52bf31a93a05c (diff) | |
download | lwn-01b960e94a58d91518d5dd7001c5cd0c57335251.tar.gz lwn-01b960e94a58d91518d5dd7001c5cd0c57335251.zip |
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/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 7ff3ac7a1ce8..2bb9b577b598 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1839,7 +1839,8 @@ extern struct kmem_cache *inode_entry_slab; /* * inline.c */ -bool f2fs_may_inline(struct inode *); +bool f2fs_may_inline_data(struct inode *); +bool f2fs_may_inline_dentry(struct inode *); void read_inline_data(struct page *, struct page *); bool truncate_inline_inode(struct page *, u64); int f2fs_read_inline_data(struct inode *, struct page *); |