ext3: Use search_dirblock() in ext3_dx_find_entry()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 16 Oct 2010 23:37:00 +0000 (19:37 -0400)
committerJan Kara <jack@suse.cz>
Thu, 6 Jan 2011 10:52:15 +0000 (11:52 +0100)
commit5026e90b86684bc878e4db0a8cd043fed769719c
treedca74ba7e855871158d8a58f3472503b4a5ec9ab
parentf0cad89f5e8ef8b6d0c065115565524137e44f0b
ext3: Use search_dirblock() in ext3_dx_find_entry()

Use the search_dirblock() in ext3_dx_find_entry().  It makes the code
easier to read, and it takes advantage of common code.  It also saves
100 bytes or so of text space.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Brad Spengler <spender@grsecurity.net>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/namei.c