]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
btrfs: btrfs_update_root error push-up
authorJeff Mahoney <jeffm@suse.com>
Tue, 4 Oct 2011 03:22:44 +0000 (23:22 -0400)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:33 +0000 (01:45 +0100)
commitb45a9d8b48e5ce534bd222007c43cbf374544f0b
treedd08cdb5dd7657a2b6f285246415e777d19e5b86
parent200a5c17677e1ee8b78382046f3748c9f5816281
btrfs: btrfs_update_root error push-up

btrfs_update_root BUG's when it can't alloc a path, yet it can recover
from a search error. This patch returns -ENOMEM instead.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
fs/btrfs/ctree.h
fs/btrfs/root-tree.c