]> git.karo-electronics.de Git - linux-beck.git/commit
Btrfs: Fix data=ordered vs wait_on_inode deadlock on older kernels
authorChris Mason <chris.mason@oracle.com>
Wed, 16 Jan 2008 21:09:22 +0000 (16:09 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:59 +0000 (11:03 -0400)
commit4d5e74bc0aec3f54b7e429d77b7c35de042c507d
treebba22e2a9cfbe5663a2489c5404fff72639b5277
parent2da98f003f4788b0a72c5f87bc55b061f65f30fa
Btrfs: Fix data=ordered vs wait_on_inode deadlock on older kernels

Using ilookup5 during data=ordered writeback could deadlock on I_LOCK.  This
saves a pointer to the inode instead.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
fs/btrfs/transaction.c