commit | 9ddfc3dc75b5cc55ff3cfa586e962d252f1db9d3 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Fri Jul 11 19:27:31 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jul 11 19:27:31 2008 -0400 |
tree | 4932f75d2f303561b0038fb5ea8985345b3ccd6b | |
parent | cf108bca465dde0c015f32dd453b99457d31c7c7 [diff] |
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 <jack@suse.cz> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>