diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-10-18 23:06:41 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-03 16:07:34 -0800 |
commit | 062a3e7ba7eebcd7d44e49e9510135f901f93f48 (patch) | |
tree | d3796be4f5bfe0169f182be8c3c83822926a7012 /fs/f2fs/f2fs.h | |
parent | 7b3cd7d6f026784b1a2a74b6e207b26253d9d780 (diff) | |
download | op-kernel-dev-062a3e7ba7eebcd7d44e49e9510135f901f93f48.zip op-kernel-dev-062a3e7ba7eebcd7d44e49e9510135f901f93f48.tar.gz |
f2fs: reuse make_empty_dir code for inline_dentry
This patch introduces do_make_empty_dir to mitigate code redundancy
for inline_dentry.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index f7bbfc7..cb59ebb 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1275,6 +1275,8 @@ struct f2fs_dir_entry *find_target_dentry(struct qstr *, int *, struct f2fs_dentry_ptr *); bool f2fs_fill_dentries(struct dir_context *, struct f2fs_dentry_ptr *, unsigned int); +void do_make_empty_dir(struct inode *, struct inode *, + struct f2fs_dentry_ptr *); struct page *init_inode_metadata(struct inode *, struct inode *, const struct qstr *, struct page *); void update_parent_metadata(struct inode *, struct inode *, unsigned int); |