Re: [PATCH] vfs: Undo an overly zealous MS_RDONLY -> SB_RDONLY conversion

From: Linus Torvalds
Date: Fri Apr 20 2018 - 13:03:29 EST


On Fri, Apr 20, 2018 at 5:35 AM, David Howells <dhowells@xxxxxxxxxx> wrote:
> In do_mount() when the MS_* flags are being converted to MNT_* flags,
> MS_RDONLY got accidentally convered to SB_RDONLY.

Applied.

I guess they have the same value (1). How did you notice? Do you have
some patches that turn the kernel flags into a bitwise type? Or did
you just happen on it manually?

Linus