|
@@ -1586,10 +1586,6 @@ xfs_dir2_leaf_search_hash(
|
|
ents = xfs_dir3_leaf_ents_p(leaf);
|
|
ents = xfs_dir3_leaf_ents_p(leaf);
|
|
xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf);
|
|
xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf);
|
|
|
|
|
|
-#ifndef __KERNEL__
|
|
|
|
- if (!leafhdr.count)
|
|
|
|
- return 0;
|
|
|
|
-#endif
|
|
|
|
/*
|
|
/*
|
|
* Note, the table cannot be empty, so we have to go through the loop.
|
|
* Note, the table cannot be empty, so we have to go through the loop.
|
|
* Binary search the leaf entries looking for our hash value.
|
|
* Binary search the leaf entries looking for our hash value.
|