Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147860
b: refs/heads/master
c: 545b9fd
h: refs/heads/master
v: v3
  • Loading branch information
Nick Piggin authored and Al Viro committed Jun 12, 2009
1 parent 747c6bf commit fe1bbca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 8688b8635266cf98f00c6b0350ea2dbe7c42c321
refs/heads/master: 545b9fd3d737afc0bb5203b1e79194a471605acd
2 changes: 0 additions & 2 deletions trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ __sync_single_inode(struct inode *inode, struct writeback_control *wbc)
int ret;

BUG_ON(inode->i_state & I_SYNC);
WARN_ON(inode->i_state & I_NEW);

/* Set I_SYNC, reset I_DIRTY */
dirty = inode->i_state & I_DIRTY;
Expand All @@ -314,7 +313,6 @@ __sync_single_inode(struct inode *inode, struct writeback_control *wbc)
}

spin_lock(&inode_lock);
WARN_ON(inode->i_state & I_NEW);
inode->i_state &= ~I_SYNC;
if (!(inode->i_state & I_FREEING)) {
if (!(inode->i_state & I_DIRTY) &&
Expand Down

0 comments on commit fe1bbca

Please sign in to comment.