projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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)
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git]
/
fs
/
nilfs2
/
mdt.c
diff --git
a/fs/nilfs2/mdt.c
b/fs/nilfs2/mdt.c
index 98835ed6bef40c8ccdc81a0707538a6489f8e57e..c6bc1033e7d2ccf3795bde38b18a5787e2644d1d 100644
(file)
--- a/
fs/nilfs2/mdt.c
+++ b/
fs/nilfs2/mdt.c
@@
-413,7
+413,7
@@
nilfs_mdt_write_page(struct page *page, struct writeback_control *wbc)
struct super_block *sb;
int err = 0;
- if (inode &&
(inode->i_sb->s_flags & MS_RDONLY
)) {
+ if (inode &&
sb_rdonly(inode->i_sb
)) {
/*
* It means that filesystem was remounted in read-only
* mode because of error or metadata corruption. But we