diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-06-19 13:27:45 -0600 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-22 00:05:30 +0200 |
commit | ea124ec327086325fc096abf42837dac471ac7ae (patch) | |
tree | 46f392d36ad5eab26f232c33a40f52e8ae567c05 /tools/perf/scripts/python/parallel-perf.py | |
parent | 9950c31ad9047cfa2599f8c02a9bd74c711a5a9f (diff) |
btrfs: don't skip accounting in early ENOTTY return in btrfs_uring_encoded_read()
btrfs_uring_encoded_read() returns early with -ENOTTY if the uring_cmd
is issued with IO_URING_F_COMPAT but the kernel doesn't support compat
syscalls. However, this early return bypasses the syscall accounting.
Go to out_acct instead to ensure the syscall is counted.
Fixes: 34310c442e17 ("btrfs: add io_uring command for encoded reads (ENCODED_READ ioctl)")
CC: stable@vger.kernel.org # 6.15+
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions