]> 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)
commitc674b889f005f5c200cf79bb83a0f638bcc7d4b1
tree33d9d6de3fa27be5701d09e3f75cd568c3021038
parent7beae2bbce8db36973891b87b6c22cf07a2af4f4
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