diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-10-13 17:26:14 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-03 16:07:32 -0800 |
commit | 4e6ebf6d493591403237400e94e6fc17b7cb1c62 (patch) | |
tree | e30734430c725f81f60f079c8cb7bee8d729d0ad /fs/f2fs/f2fs.h | |
parent | a82afa20197a2ed289dd8fd18208a9e8b9af0130 (diff) | |
download | op-kernel-dev-4e6ebf6d493591403237400e94e6fc17b7cb1c62.zip op-kernel-dev-4e6ebf6d493591403237400e94e6fc17b7cb1c62.tar.gz |
f2fs: reuse find_in_block code for find_in_inline_dir
This patch removes redundant copied code in find_in_inline_dir.
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 aa055e3..6aad6e0 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1243,8 +1243,9 @@ struct dentry *f2fs_get_parent(struct dentry *child); * dir.c */ extern unsigned char f2fs_filetype_table[F2FS_FT_MAX]; -bool early_match_name(size_t, f2fs_hash_t, struct f2fs_dir_entry *); void set_de_type(struct f2fs_dir_entry *, struct inode *); +struct f2fs_dir_entry *find_target_dentry(struct qstr *, int *, const void *, + struct f2fs_dir_entry *, __u8 (*)[F2FS_SLOT_LEN]); struct page *init_inode_metadata(struct inode *, struct inode *, const struct qstr *); void update_parent_metadata(struct inode *, struct inode *, unsigned int); |