From bbece8a3f00a02bbfc63531651fd70ef56c5e916 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 11 Mar 2013 17:07:45 +0000 Subject: btrfs: merge save_error_info helpers into one Signed-off-by: David Sterba Signed-off-by: Josef Bacik --- fs/btrfs/super.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'fs/btrfs/super.c') diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 714ae479de2..8168ceca475 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -92,7 +92,7 @@ static const char *btrfs_decode_error(int errno, char nbuf[16]) return errstr; } -static void __save_error_info(struct btrfs_fs_info *fs_info) +static void save_error_info(struct btrfs_fs_info *fs_info) { /* * today we only save the error info into ram. Long term we'll @@ -101,11 +101,6 @@ static void __save_error_info(struct btrfs_fs_info *fs_info) set_bit(BTRFS_FS_STATE_ERROR, &fs_info->fs_state); } -static void save_error_info(struct btrfs_fs_info *fs_info) -{ - __save_error_info(fs_info); -} - /* btrfs handle error by forcing the filesystem readonly */ static void btrfs_handle_error(struct btrfs_fs_info *fs_info) { -- cgit v1.2.3-18-g5258