Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186106
b: refs/heads/master
c: 49792c8
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Monakhov authored and Jan Kara committed Mar 4, 2010
1 parent c1b88ec commit 9fbfcaa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7eb4969e04060dcf3fbd46af9c21b1059b853068
refs/heads/master: 49792c806d0bfd53afc789dcdf50dc9bed2c5b83
7 changes: 7 additions & 0 deletions trunk/fs/ext3/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,7 @@ static int ext3_ordered_writepage(struct page *page,
int err;

J_ASSERT(PageLocked(page));
WARN_ON_ONCE(IS_RDONLY(inode));

/*
* We give up here if we're reentered, because it might be for a
Expand Down Expand Up @@ -1600,6 +1601,9 @@ static int ext3_writeback_writepage(struct page *page,
int ret = 0;
int err;

J_ASSERT(PageLocked(page));
WARN_ON_ONCE(IS_RDONLY(inode));

if (ext3_journal_current_handle())
goto out_fail;

Expand Down Expand Up @@ -1642,6 +1646,9 @@ static int ext3_journalled_writepage(struct page *page,
int ret = 0;
int err;

J_ASSERT(PageLocked(page));
WARN_ON_ONCE(IS_RDONLY(inode));

if (ext3_journal_current_handle())
goto no_write;

Expand Down

0 comments on commit 9fbfcaa

Please sign in to comment.