projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)
[linux-2.6-microblaze.git]
/
fs
/
ext4
/
file.c
diff --git
a/fs/ext4/file.c
b/fs/ext4/file.c
index
58294c9
..
b33ec8a
100644
(file)
--- a/
fs/ext4/file.c
+++ b/
fs/ext4/file.c
@@
-388,7
+388,7
@@
static int ext4_file_open(struct inode * inode, struct file * filp)
return -EIO;
if (unlikely(!(sbi->s_mount_flags & EXT4_MF_MNTDIR_SAMPLED) &&
- !
(sb->s_flags & MS_RDONLY
))) {
+ !
sb_rdonly(sb
))) {
sbi->s_mount_flags |= EXT4_MF_MNTDIR_SAMPLED;
/*
* Sample where the filesystem has been mounted and