btrfs: merge save_error_info helpers into one
PATCH 1/2 btrfs: merge save_error_info helpers into one
Signed-off-by David Sterba <[email protected]>
--- fs/btrfs/super.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
fs/btrfs/super.c +1 -6
@@ -91,7 +91,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
@@ -100,11 +100,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) {
Signature · 1 line
1.7.9