Re: [PATCH] ext4: Fix circular locking dependency with migrate and rm.

2008-02-06 Thread Jan Kara
On Wed 06-02-08 16:30:04, Aneesh Kumar K.V wrote: > We now take inode->i_mutex lock to prevent any update of the inode i_data > field. Before we switch the inode format we take i_data_sem to prevent > parallel read. > > === > [ INFO: possible cir

[PATCH] ext4: Fix circular locking dependency with migrate and rm.

2008-02-06 Thread Aneesh Kumar K.V
We now take inode->i_mutex lock to prevent any update of the inode i_data field. Before we switch the inode format we take i_data_sem to prevent parallel read. === [ INFO: possible circular locking dependency detected ] 2.6.24-rc8 #6