Btrfs: consolidate btrfs_error() to btrfs_std_error()
authorAnand Jain <anand.jain@oracle.com>
Fri, 25 Sep 2015 06:43:01 +0000 (14:43 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 29 Sep 2015 14:30:00 +0000 (16:30 +0200)
commita4553fefb59cb0336f543fa567170b47e90142a9
tree103dcab4eeecae6d9ee4e796bcdb4209aa340ca4
parent57d816a15ba2c2690c57635134bc01cf4da4623c
Btrfs: consolidate btrfs_error() to btrfs_std_error()

btrfs_error() and btrfs_std_error() does the same thing
and calls _btrfs_std_error(), so consolidate them together.
And the main motivation is that btrfs_error() is closely
named with btrfs_err(), one handles error action the other
is to log the error, so don't closely name them.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Suggested-by: David Sterba <dsterba@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/inode-item.c
fs/btrfs/ioctl.c
fs/btrfs/relocation.c
fs/btrfs/root-tree.c
fs/btrfs/transaction.c
fs/btrfs/tree-log.c
fs/btrfs/volumes.c