diff options
author | David Sterba <dsterba@suse.com> | 2024-01-15 20:30:26 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-01-18 23:35:57 +0100 |
commit | a208b3f132b48e1f94f620024e66fea635925877 (patch) | |
tree | 6e65ec57c199bcb5888b36c2b4fe43c4efc85dd1 /scripts/gdb/linux/device.py | |
parent | f398e70dd69e6ceea71463a5380e6118f219197e (diff) |
btrfs: don't warn if discard range is not aligned to sector
There's a warning in btrfs_issue_discard() when the range is not aligned
to 512 bytes, originally added in 4d89d377bbb0 ("btrfs:
btrfs_issue_discard ensure offset/length are aligned to sector
boundaries"). We can't do sub-sector writes anyway so the adjustment is
the only thing that we can do and the warning is unnecessary.
CC: stable@vger.kernel.org # 4.19+
Reported-by: syzbot+4a4f1eba14eb5c3417d1@syzkaller.appspotmail.com
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions