btrfs: No need to check !(flags & MS_RDONLY) twice
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sat, 4 Mar 2017 18:32:50 +0000 (12:32 -0600)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Apr 2017 12:07:25 +0000 (14:07 +0200)
commit4d339d01063a248b3deb3aff94aaf53be6e84e08
tree2618a8a9d149d92dd2ba14290a96814ccbf94c90
parent1a79c1f2466bb54b329155b2b6910f386dc5aa9d
btrfs: No need to check !(flags & MS_RDONLY) twice

Code cleanup.
The code block is for !(*flags & MS_RDONLY). We don't need
to check it again.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c