It looks like the real way to tell if a file system is mounted read only is to test
super_block.s_flags & MS_READONLY.
I'm working on a file system so would like to know (a) if this is correct and (b) if I need to
worry about s_rd_only or if it will be deleted from the source tree `one of these days'.
Thanks in adv,
Mike Howard <mike@clove.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu