summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMark Harmstone <maharmstone@fb.com>2024-11-15 15:49:17 +0000
committerDavid Sterba <dsterba@suse.com>2024-11-29 16:56:38 +0100
commit22d2e48e318564f8c9b09faf03ecb4f03fb44dd5 (patch)
tree1aa36fc02534dfae195851377a340f5fe993129f /scripts/patch-kernel
parent7c4e39f9d2af4abaf82ca0e315d1fd340456620f (diff)
btrfs: fix lockdep warnings on io_uring encoded reads
Lockdep doesn't like the fact that btrfs_uring_read_extent() returns to userspace still holding the inode lock, even though we release it once the I/O finishes. Add calls to rwsem_release() and rwsem_acquire_read() to work round this. Reported-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> 34310c442e17 ("btrfs: add io_uring command for encoded reads (ENCODED_READ ioctl)") Signed-off-by: Mark Harmstone <maharmstone@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions