commit | 41415730a1050499fbd63b3f7dd59b3a4c3bb91a | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Wed Mar 16 13:59:32 2011 -0400 |
committer | Josef Bacik <josef@redhat.com> | Thu Mar 17 14:21:39 2011 -0400 |
tree | f379a75ded5241e303fd78bcfe5d6ca257058dc1 | |
parent | a826d6dcb32d811b4c81df57a5ef1367516586b0 [diff] |
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 <josef@redhat.com>