Btrfs: Remove broken optimisations in end_bio functions.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 20 Aug 2008 12:51:49 +0000 (08:51 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:06 +0000 (11:04 -0400)
commit902b22f341efa00be802418a0a8c57bddcd269a6
treee8fdfb0a33c19d615e46749217e62c974d3a3611
parent53863232ef961778aa414b700ed88a48e8e871e6
Btrfs: Remove broken optimisations in end_bio functions.

These ended up freeing objects while they were still using them. Under
guidance from Chris, just rip out the 'clever' bits and do things the
simple way.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c