From: Josef Bacik Date: Wed, 16 Mar 2011 17:59:32 +0000 (-0400) Subject: Btrfs: check return value of btrfs_search_slot properly X-Git-Tag: v2.6.39-rc1~19^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41415730a1050499fbd63b3f7dd59b3a4c3bb91a;p=pandora-kernel.git Btrfs: check return value of btrfs_search_slot properly Doing an audit of where we use btrfs_search_slot only showed one place where we don't check the return value of btrfs_search_slot properly. Just fix mark_extent_written to see if btrfs_search_slot failed and act accordingly. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed