btrfs: merge save_error_info helpers into one
authorDavid Sterba <dsterba@suse.cz>
Mon, 11 Mar 2013 17:07:45 +0000 (17:07 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:52:55 +0000 (15:52 -0400)
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/super.c

index 714ae479de2ee716ee6648d6eafd2e617f72d0b8..8168ceca4754ac5a4f7ff26e03bdf0b8e77acbc4 100644 (file)
@@ -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)
 {