aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nilfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/inode.c b/fs/nilfs2/inode.c
index ba7a1da7634b..cf02f5530713 100644
--- a/fs/nilfs2/inode.c
+++ b/fs/nilfs2/inode.c
@@ -192,7 +192,7 @@ static int nilfs_writepage(struct page *page, struct writeback_control *wbc)
192 struct inode *inode = page->mapping->host; 192 struct inode *inode = page->mapping->host;
193 int err; 193 int err;
194 194
195 if (inode && (inode->i_sb->s_flags & MS_RDONLY)) { 195 if (inode->i_sb->s_flags & MS_RDONLY) {
196 /* 196 /*
197 * It means that filesystem was remounted in read-only 197 * It means that filesystem was remounted in read-only
198 * mode because of error or metadata corruption. But we 198 * mode because of error or metadata corruption. But we