aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMark Harmstone <maharmstone@fb.com>2024-10-22 15:50:17 +0100
committerDavid Sterba <dsterba@suse.com>2024-11-11 14:34:21 +0100
commit26efd44796c6dd7a64f039a0dda6d558eac97a3e (patch)
tree12b0028c44bcd2fcaeeff96eb9ae4753aa45ecf4 /rust/helpers/helpers.c
parent4bca7412b8325508b47768678acf6249ad179763 (diff)
downloadlinux-26efd44796c6dd7a64f039a0dda6d558eac97a3e.tar.gz
linux-26efd44796c6dd7a64f039a0dda6d558eac97a3e.tar.bz2
linux-26efd44796c6dd7a64f039a0dda6d558eac97a3e.zip
btrfs: change btrfs_encoded_read() so that reading of extent is done by caller
Change the behaviour of btrfs_encoded_read() so that if it needs to read an extent from disk, it leaves the extent and inode locked and returns -EIOCBQUEUED. The caller is then responsible for doing the I/O via btrfs_encoded_read_regular() and unlocking the extent and inode. 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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions