Message ID | 1484232945-45624-1-git-send-email-milan.stephan@fau.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jan 12, 2017 at 03:55:45PM +0100, Milan Stephan wrote: > From: Milan Stephan <milan.stephan+linux@fau.de> > > Fixes return value of btrfs_uuid_tree_iterate to catch and return errors > when calling btrfs_alloc_path. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188731 The patch for that has been already sent and merged to for-next, https://git.kernel.org/cgit/linux/kernel/git/kdave/linux.git/commit/?h=for-next&id=73ba39ab9307340dc98ec3622891314bbc09cc2e but thanks anyway. -- 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
diff --git a/fs/btrfs/uuid-tree.c b/fs/btrfs/uuid-tree.c index 161342b..12f873d 100644 --- a/fs/btrfs/uuid-tree.c +++ b/fs/btrfs/uuid-tree.c @@ -354,5 +354,5 @@ int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info, btrfs_free_path(path); if (ret) btrfs_warn(fs_info, "btrfs_uuid_tree_iterate failed %d", ret); - return 0; + return ret; }