From: Jan Kara Date: Fri, 11 Jul 2008 23:27:31 +0000 (-0400) Subject: ext4: Fix lock inversion in ext4_ext_truncate() X-Git-Tag: v2.6.27-rc1~1087^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ddfc3dc75b5cc55ff3cfa586e962d252f1db9d3;p=pandora-kernel.git ext4: Fix lock inversion in ext4_ext_truncate() We cannot call ext4_orphan_add() from under i_data_sem because that causes a lock ordering violation between i_data_sem and and the superblock lock. Updated with Aneesh's locking order fix Signed-off-by: Jan Kara Signed-off-by: Mingming Cao Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed