diff options
| author | Qu Wenruo <[email protected]> | 2015-10-29 09:28:46 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2015-11-03 15:44:20 +0000 |
| commit | 485290a734f14279fa9376b3d6021a2dc1f82356 (patch) | |
| tree | e9c10f2e1fcbb2e86ee66d1af947a8c6b8b7abe0 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | btrfs: qgroup: Fix a rebase bug which will cause qgroup double free (diff) | |
| download | kernel-485290a734f14279fa9376b3d6021a2dc1f82356.tar.gz kernel-485290a734f14279fa9376b3d6021a2dc1f82356.zip | |
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
