From: Li Zefan Date: Thu, 14 Jul 2011 03:17:52 +0000 (+0000) Subject: Btrfs: remove redundant code for dir item lookup X-Git-Tag: v3.1-rc1~82^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d85a743da894029723e002eb556ceeebc03658;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed