diff options
author | Jan Kara <jack@suse.cz> | 2008-07-11 19:27:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-07-11 19:27:31 -0400 |
commit | 9ddfc3dc75b5cc55ff3cfa586e962d252f1db9d3 (patch) | |
tree | 4932f75d2f303561b0038fb5ea8985345b3ccd6b /include/asm-x86/semaphore.h | |
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>
Diffstat (limited to 'include/asm-x86/semaphore.h')
0 files changed, 0 insertions, 0 deletions