Btrfs: don't null pointer deref on abort
authorJosef Bacik <jbacik@fusionio.com>
Wed, 8 May 2013 17:30:11 +0000 (13:30 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Sat, 18 May 2013 01:40:12 +0000 (21:40 -0400)
commit69a85bd87cc81bcbd36730d4a1214c12fdb8a548
treebe462401400f8df123ba89296c300d95fb804fc2
parent03b71c6ca6286625d8f1ed44aabab9b5bf5dac10
Btrfs: don't null pointer deref on abort

I'm sorry, theres no excuse for this sort of work.  We need to use
root->leafsize since eb may be NULL.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c