ext4: use search_dirblock() in ext4_dx_find_entry()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:08 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:08 +0000 (21:30 -0400)
commit7845c0497536c566bfef08db1a38ae1ad2c25464
tree1d5fc97acad87341c6a703dc0763fa95135923ef
parent8941ec8bb6443d28d5c25311870aeaa809cf1538
ext4: use search_dirblock() in ext4_dx_find_entry()

Use the search_dirblock() in ext4_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>
fs/ext4/namei.c