btrfs: remove check for BTRFS_FS_STATE_ERROR which we just set
authorAnand Jain <Anand.Jain@oracle.com>
Thu, 4 Jan 2018 10:01:54 +0000 (18:01 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:20 +0000 (16:08 +0100)
commit61ecda68652591c3a7131e6bdb51639612a1244c
treeea413ada87680ddc9f3aeea750d20e6c215780a8
parent8810f7517a3bc4ca2d41d022446d3f5fd6b77c09
btrfs: remove check for BTRFS_FS_STATE_ERROR which we just set

__btrfs_handle_fs_error() sets BTRFS_FS_STATE_ERROR, and calls
btrfs_handle_error() so no need to check if the BTRFS_FS_STATE_ERROR
is set in btrfs_handle_error(). And there is no other user of
btrfs_handle_error() as well.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c