-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
really disable fallback mounting to RO
Passing the "rw" option is not enough. Careful reading of the manpage, verified by tests and reading of the source code of util-linux reveals that disabling the RO fallback only happens when you pass the "-w" flag. Then, also fix "ro" mounts in case of XFS, as XFS attempts to write even if passed the "ro" flag without the "norecovery" option. Fixes: 6deb565 ("disable fallback to RO mounts for RW volumes") Signed-off-by: Moritz Wanzenböck <moritz.wanzenboeck@linbit.com>
- Loading branch information
Showing
1 changed file
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters