Josef Bacik e64860aa05 Btrfs: don't return true in releasepage unless we actually freed the eb
I noticed while looking at an extent_buffer race that we will
unconditionally return 1 if we get down to release_extent_buffer after
clearing the tree ref.  However we can easily race in here and get a ref on
the eb and not actually free the eb.  So make release_extent_buffer return 1
if it free'd the eb and 0 if not so we can be a little kinder to the vm.
Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
2012-07-23 16:28:08 -04:00
..
2012-05-30 10:23:27 -04:00
2012-07-23 16:28:06 -04:00
2012-05-29 23:28:33 -04:00
2008-09-25 11:04:06 -04:00
2012-07-23 16:28:05 -04:00
2012-07-23 16:27:42 -04:00
2012-06-14 21:29:16 -04:00
2012-07-23 16:27:42 -04:00
2011-06-17 14:54:18 -04:00
2012-07-23 16:27:42 -04:00