diff --git a/[refs] b/[refs] index 913a127a5523..f3b4e550959c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ecdfc9787fe527491baefc22dce8b2dbd5b2908d +refs/heads/master: 4b89eed93e0fa40a63e3d7b1796ec1337ea7a3aa diff --git a/trunk/fs/fs-writeback.c b/trunk/fs/fs-writeback.c index c403b66ec83c..a4b142a6a2c7 100644 --- a/trunk/fs/fs-writeback.c +++ b/trunk/fs/fs-writeback.c @@ -251,8 +251,19 @@ __writeback_single_inode(struct inode *inode, struct writeback_control *wbc) WARN_ON(inode->i_state & I_WILL_FREE); if ((wbc->sync_mode != WB_SYNC_ALL) && (inode->i_state & I_LOCK)) { + struct address_space *mapping = inode->i_mapping; + int ret; + list_move(&inode->i_list, &inode->i_sb->s_dirty); - return 0; + + /* + * Even if we don't actually write the inode itself here, + * we can at least start some of the data writeout.. + */ + spin_unlock(&inode_lock); + ret = do_writepages(mapping, wbc); + spin_lock(&inode_lock); + return ret; } /*