Btrfs: check return value of btrfs_search_slot properly
authorJosef Bacik <josef@redhat.com>
Wed, 16 Mar 2011 17:59:32 +0000 (13:59 -0400)
committerJosef Bacik <josef@redhat.com>
Thu, 17 Mar 2011 18:21:39 +0000 (14:21 -0400)
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 <josef@redhat.com>

No differences found