On Wed, 08 Jun 2011 05:32:43 +0800 Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote: > static void bdev_inode_switch_bdi(struct inode *inode, > struct backing_dev_info *dst) > { > - spin_lock(&inode_wb_list_lock); > + struct backing_dev_info *old = inode->i_data.backing_dev_info; > + > + if (unlikely(dst == old)) /* deadlock avoidance */ > + return; Why does this occur? -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html