diff options
author | 2023-01-23 14:29:15 +0100 | |
---|---|---|
committer | 2023-01-26 16:46:35 +0100 | |
commit | f54aa97fb7e5329a373f9df4e5e213ced4fc8759 (patch) | |
tree | f2e7fd25749f236375d633e9e3bacb815422d166 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
parent | udf: Fix file corruption when appending just after end of preallocated extent (diff) | |
download | wireguard-linux-f54aa97fb7e5329a373f9df4e5e213ced4fc8759.tar.xz wireguard-linux-f54aa97fb7e5329a373f9df4e5e213ced4fc8759.zip |
udf: Fix off-by-one error when discarding preallocation
The condition determining whether the preallocation can be used had
an off-by-one error so we didn't discard preallocation when new
allocation was just following it. This can then confuse code in
inode_getblk().
CC: stable@vger.kernel.org
Fixes: 16d055656814 ("udf: Discard preallocation before extending file with a hole")
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions