]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
btrfs: make btrfs_set_root_node void
authorMark Fasheh <mfasheh@suse.com>
Thu, 14 Jul 2011 21:23:06 +0000 (21:23 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:30:44 +0000 (14:30 -0400)
commitbf5f32ecb6caac52b4d1c083251b3dd4f40a0b7a
treea1022046dd66034c6a916b28abcadc9128184273
parentff1f2b4407454d926d8b143bf37e4dce66026a28
btrfs: make btrfs_set_root_node void

This is fairly trivial - btrfs_set_root_node() - always returns zero so we
can just make it void.  All callers ignore the return code now anyway.  I
also made sure to check that none of the functions that
btrfs_set_root_node() calls returns an error that we might have needed to
catch and pass back.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/root-tree.c