diff options
| author | Alexey Velichayshiy <a.velichayshiy@ispras.ru> | 2026-02-22 15:47:23 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:55:58 +0200 |
| commit | 8c0b917d78fc2a1fb4afac90a597b75e0a5b7223 (patch) | |
| tree | 99b2fd368fa3c415cd110d6a70fe9789fb2d7bb2 /tools/perf/scripts/python | |
| parent | b6193a891653efcd8d6d39610ace204e157bed00 (diff) | |
btrfs: remove redundant nowait check in lock_extent_direct()
The nowait flag is always false in this context, making the conditional
check unnecessary. Simplify the code by directly assigning -ENOTBLK.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Alexey Velichayshiy <a.velichayshiy@ispras.ru>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
