btrfs: remove unused parameter from btrfs_check_super_valid
authorDavid Sterba <dsterba@suse.com>
Fri, 10 Feb 2017 18:23:20 +0000 (19:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:52 +0000 (12:03 +0100)
commit3d3a126a81f152a5abfe19916a5099d2bbd38f9d
tree45741f51e9e0164d6f64c2fb12d0449d4446267b
parent8b74c03e3c16c7a5a127a584bee687cd1578ceaa
btrfs: remove unused parameter from btrfs_check_super_valid

None of the checks need to know the ro/rw status as they're all not
changing the superblock. Moreover, we can access the sb flags directly
if we'd need to decide by the ro/rw status.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c