]> git.baikalelectronics.ru Git - 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)
commitb17326ff5c37cdadeccb9e807dc1a8280f93b9fa
treea1022046dd66034c6a916b28abcadc9128184273
parent144a5c4165c52a92565ea5065da73260b62d82d8
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