diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-07-14 05:17:52 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-08-01 20:30:48 +0200 |
commit | 85d85a743da894029723e002eb556ceeebc03658 (patch) | |
tree | fb9cc28ea108c85785ac38f92a16a60467452dd1 /fs/cachefiles | |
parent | Btrfs: make acl functions really no-op if acl is not enabled (diff) | |
download | linux-85d85a743da894029723e002eb556ceeebc03658.tar.xz linux-85d85a743da894029723e002eb556ceeebc03658.zip |
Btrfs: remove redundant code for dir item lookup
When we search a dir item with a specific hash code, we can
just return NULL without further checking if btrfs_search_slot()
returns 1.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions