Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156215
b: refs/heads/master
c: 01a261e
h: refs/heads/master
i:
  156213: 335dc5c
  156211: f6cc077
  156207: facaa12
v: v3
  • Loading branch information
Ryusuke Konishi committed Aug 2, 2009
1 parent 3773646 commit b38302c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a97778457f22181e8c38c4cd7d7e528378738a98
refs/heads/master: 01a261e09a21e0ba342d3907a79cf5c78ee3f37a
4 changes: 3 additions & 1 deletion trunk/fs/nilfs2/mdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,10 @@ nilfs_mdt_write_page(struct page *page, struct writeback_control *wbc)
return 0; /* Do not request flush for shadow page cache */
if (!sb) {
writer = nilfs_get_writer(NILFS_MDT(inode)->mi_nilfs);
if (!writer)
if (!writer) {
nilfs_put_writer(NILFS_MDT(inode)->mi_nilfs);
return -EROFS;
}
sb = writer->s_super;
}

Expand Down

0 comments on commit b38302c

Please sign in to comment.