Filipe David Borba Manana
2013-Sep-09 18:54 UTC
[PATCH] Btrfs: don''t ignore return value from cache_save_setup()
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> --- fs/btrfs/extent-tree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 249cdb1..64efa83 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -3284,6 +3284,8 @@ again: err = cache_save_setup(cache, trans, path); last = cache->key.objectid + cache->key.offset; btrfs_put_block_group(cache); + if (err) + goto out; } while (1) { -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html