vfs: Add sb_rdonly(sb) to query the MS_RDONLY flag on s_flags
authorDavid Howells <dhowells@redhat.com>
Mon, 17 Jul 2017 07:45:34 +0000 (08:45 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 17 Jul 2017 07:45:34 +0000 (08:45 +0100)
commit94e92e7ac90d06e1e839e112d3ae80b2457dbdd7
treea21c79f5282e36379e5675de12f07c1d8359af05
parent87b2c3fc63175bb32c96d4ec58152d4fdd5a4ae1
vfs: Add sb_rdonly(sb) to query the MS_RDONLY flag on s_flags

Add an sb_rdonly() function to query the MS_RDONLY flag on sb->s_flags
preparatory to providing an SB_RDONLY flag.

Signed-off-by: David Howells <dhowells@redhat.com>
include/linux/fs.h