public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] a writeback locking fix
@ 2012-06-12 11:58 Fengguang Wu
  0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2012-06-12 11:58 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f:

  Linux 3.5-rc1 (2012-06-02 18:29:26 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux.git tags/writeback-lock-fix

for you to fetch changes up to ead188f9f930fb5d7f0c49315a7fce3d8bd16b7e:

  writeback: Fix lock imbalance in writeback_sb_inodes() (2012-06-09 08:32:15 +0900)

----------------------------------------------------------------
fix unbalanced wb->list_lock in 3.5-rc1

----------------------------------------------------------------
Jan Kara (1):
      writeback: Fix lock imbalance in writeback_sb_inodes()

 fs/fs-writeback.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 8d2fb8c..41a3ccf 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -664,6 +664,7 @@ static long writeback_sb_inodes(struct super_block *sb,
 			/* Wait for I_SYNC. This function drops i_lock... */
 			inode_sleep_on_writeback(inode);
 			/* Inode may be gone, start again */
+			spin_lock(&wb->list_lock);
 			continue;
 		}
 		inode->i_state |= I_SYNC;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-12 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12 11:58 [GIT PULL] a writeback locking fix Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox