summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorJan Kara2008-07-12 01:27:31 +0200
committerTheodore Ts'o2008-07-12 01:27:31 +0200
commit9ddfc3dc75b5cc55ff3cfa586e962d252f1db9d3 (patch)
tree4932f75d2f303561b0038fb5ea8985345b3ccd6b /mm/filemap.c
parentext4: Invert the locking order of page_lock and transaction start (diff)
downloadkernel-qcow2-linux-9ddfc3dc75b5cc55ff3cfa586e962d252f1db9d3.tar.gz
kernel-qcow2-linux-9ddfc3dc75b5cc55ff3cfa586e962d252f1db9d3.tar.xz
kernel-qcow2-linux-9ddfc3dc75b5cc55ff3cfa586e962d252f1db9d3.zip
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 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions