diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-10-13 16:28:13 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-03 16:07:32 -0800 |
commit | a82afa20197a2ed289dd8fd18208a9e8b9af0130 (patch) | |
tree | 5063883ec01ffac2dc2c2500201be873357d2c6f /fs/f2fs/f2fs.h | |
parent | d37a868ffca325509af87f59c142d9dc717772bd (diff) | |
download | lwn-a82afa20197a2ed289dd8fd18208a9e8b9af0130.tar.gz lwn-a82afa20197a2ed289dd8fd18208a9e8b9af0130.zip |
f2fs: reuse room_for_filename for inline dentry operation
This patch introduces to reuse the existing room_for_filename for inline dentry
operation.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index c537699d0182..aa055e3fbd67 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1248,6 +1248,7 @@ void set_de_type(struct f2fs_dir_entry *, struct inode *); struct page *init_inode_metadata(struct inode *, struct inode *, const struct qstr *); void update_parent_metadata(struct inode *, struct inode *, unsigned int); +int room_for_filename(const void *, int, int); void f2fs_drop_nlink(struct inode *, struct inode *, struct page *); struct f2fs_dir_entry *f2fs_find_entry(struct inode *, struct qstr *, struct page **); |