aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-03-11 17:07:45 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:52:55 -0400
commitbbece8a3f00a02bbfc63531651fd70ef56c5e916 (patch)
tree645854a2b988954962b5eb02c126b6849f8cd32c /fs/btrfs/super.c
parent74255aa07d292385ca3a4a4e8f0bc492d9bdd116 (diff)
btrfs: merge save_error_info helpers into one
Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c7
1 files changed, 1 insertions, 6 deletions
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)
{