lkml.org 
[lkml]   [1998]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectsuper_block.s_rd_only
Date
From
The field: s_rd_only in the super_block structure appears to be unused except where it is set to
zero in read_super() at super.c:535 and do_mount_root() at super.c:949. [Line numbers are taken
from RedHat 2.0.32-3 kernel source].

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

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2011 Jasper Spaans