Qu Wenruo 485290a734 btrfs: Fix a data space underflow warning
Even with quota disabled, generic/127 will trigger a kernel warning by
underflow data space info.

The bug is caused by buffered write, which in case of short copy, the
start parameter for btrfs_delalloc_release_space() is wrong, and
round_up/down() in btrfs_delalloc_release() extents the range to page
aligned, decreasing one more page than expected.

This patch will fix it by passing correct start.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
2015-11-03 07:44:20 -08:00
..
2014-06-09 17:20:42 -07:00
2015-10-06 06:55:23 -07:00
2008-09-25 11:04:06 -04:00
2014-10-14 10:51:22 +02:00
2015-10-21 18:29:50 +02:00
2015-09-29 16:29:59 +02:00