diff --git a/[refs] b/[refs] index 7843a784b5ff..7c9d1d0412fd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 00d71c9c17b1fd28fa54f323a29a0e23c6d3de40 +refs/heads/master: 8f71f3e0e4fb5a2445fb93d3057a33aefc4aa30d diff --git a/trunk/fs/btrfs/relocation.c b/trunk/fs/btrfs/relocation.c index ba5a3210da9a..16e0c6fbdbed 100644 --- a/trunk/fs/btrfs/relocation.c +++ b/trunk/fs/btrfs/relocation.c @@ -1269,6 +1269,8 @@ static int __update_reloc_root(struct btrfs_root *root, int del) } spin_unlock(&rc->reloc_root_tree.lock); + if (!node) + return 0; BUG_ON((struct btrfs_root *)node->data != root); if (!del) {