diff options
author | Huajun Li <huajun.li@intel.com> | 2013-11-10 10:13:19 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-26 06:40:09 -0500 |
commit | e18c65b2ac91aa59f89333da595d5155184f76cf (patch) | |
tree | 00cfd81f927aef7416b59410ba578300a99c30dd /fs/f2fs/f2fs.h | |
parent | 0d47c1adc2a1f1e4f4673f122a8328c90c58e232 (diff) |
f2fs: key functions to handle inline data
Functions to implement inline data read/write, and move inline data to
normal data block when file size exceeds inline data limitation.
Signed-off-by: Huajun Li <huajun.li@intel.com>
Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
Signed-off-by: Weihong Xu <weihong.xu@intel.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 36211cb16263..b01ccaa73b23 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -1296,4 +1296,12 @@ extern const struct inode_operations f2fs_dir_inode_operations; | |||
1296 | extern const struct inode_operations f2fs_symlink_inode_operations; | 1296 | extern const struct inode_operations f2fs_symlink_inode_operations; |
1297 | extern const struct inode_operations f2fs_special_inode_operations; | 1297 | extern const struct inode_operations f2fs_special_inode_operations; |
1298 | 1298 | ||
1299 | /* | ||
1300 | * inline.c | ||
1301 | */ | ||
1302 | inline int f2fs_has_inline_data(struct inode *); | ||
1303 | bool f2fs_may_inline(struct inode *); | ||
1304 | int f2fs_read_inline_data(struct inode *, struct page *); | ||
1305 | int f2fs_convert_inline_data(struct inode *, struct page *, unsigned); | ||
1306 | int f2fs_write_inline_data(struct inode *, struct page *, unsigned int); | ||
1299 | #endif | 1307 | #endif |