ext4: create a new function search_dir
authorTao Ma <boyu.mt@taobao.com>
Mon, 10 Dec 2012 19:05:59 +0000 (14:05 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:05:59 +0000 (14:05 -0500)
commit7335cd3b41b1e704608ca46159641ca9cb598121
tree33d9d6de3fa27be5701d09e3f75cd568c3021038
parent65d165d9366dbf783d0102177006d47c8859ba31
ext4: create a new function search_dir

search_dirblock is used to search a dir block, but the code is almost
the same for searching an inline dir.

So create a new fuction search_dir and let search_dirblock call it.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/namei.c