--- linux-2.6.1/fs/fs-writeback.c.=K0001=.orig +++ linux-2.6.1/fs/fs-writeback.c @@ -87,12 +87,11 @@ void __mark_inode_dirty(struct inode *in * Only add valid (hashed) inodes to the superblock's * dirty list. Add blockdev inodes as well. */ - if (!S_ISBLK(inode->i_mode)) { + if (!S_ISBLK(inode->i_mode)) if (hlist_unhashed(&inode->i_hash)) goto out; - if (inode->i_state & (I_FREEING|I_CLEAR)) - goto out; - } + if (inode->i_state & (I_FREEING|I_CLEAR)) + goto out; /* * If the inode was already on s_dirty or s_io, don't