Chris Mason 9998eb7034 Btrfs: fix reservations in btrfs_page_mkwrite
Josef fixed btrfs_page_mkwrite to properly release reserved
extents if there was an error.  But if we fail to get a reservation
and we fail to dirty the inode (for ENOSPC reasons), we'll end up
trying to release a reservation we never had.

This makes sure we only release if we were able to reserve.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2012-01-27 10:44:44 -05:00
..
2012-01-04 16:26:38 +01:00
2011-12-22 16:22:27 +01:00
2012-01-16 15:29:43 -05:00
2012-01-16 15:29:43 -05:00
2012-01-26 15:01:12 -05:00
2012-01-16 22:04:49 +02:00
2012-01-16 15:29:43 -05:00
2012-01-16 15:38:24 -05:00