Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 768e9dfe authored by Liu Bo's avatar Liu Bo Committed by Chris Mason
Browse files

Btrfs: remove redundant r/o check for superblock



mnt_want_write() and mnt_want_write_file() will check sb->s_flags with
MS_RDONLY, and we don't need to do it ourselves.

Signed-off-by: default avatarLiu Bo <liubo2009@cn.fujitsu.com>
parent a874a63e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment