]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f8f42e7efda99c30f66b65b7bd5f279c53dfaca
tree33d9d6de3fa27be5701d09e3f75cd568c3021038
parent12c05e8d636b591a4d5c05386cb4abcafdb9abde
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