summaryrefslogtreecommitdiff
path: root/soak
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-01-09 10:34:15 +0000
committerZorro Lang <zlang@kernel.org>2023-01-14 21:43:44 +0800
commitfde636203ffdc796f4044234f83700c8d160a8ad (patch)
tree6bacbcdeac3074fd2f6cf6cb1c6752d62d9fb24a /soak
parent2151aae2e0382bd8843cc22fc726b3ffc7fb4426 (diff)
generic: test lseek with seek data mode on a one byte file
Test that seeking for data on a 1 byte file works correctly, the returned offset should be 0 if the start offset is 0. This is a regression test motivated by a btrfs bug introduced in kernel 6.1, which got recently fixed by the following kernel commit: 2f2e84ca6066 ("btrfs: fix off-by-one in delalloc search during lseek") Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Disseldorp <ddiss@suse.de> Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'soak')
0 files changed, 0 insertions, 0 deletions