]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: remove pointless iocb::ki_pos addition in btrfs_encoded_read()
authorMark Harmstone <maharmstone@fb.com>
Tue, 22 Oct 2024 14:50:16 +0000 (15:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 11 Nov 2024 13:34:21 +0000 (14:34 +0100)
commit4bca7412b8325508b47768678acf6249ad179763
tree84148764e0ffe3ba01e692933f222e78e9aaa215
parent7f13360ef954ed18ea51eea1171a7623b4d3233f
btrfs: remove pointless iocb::ki_pos addition in btrfs_encoded_read()

iocb->ki_pos isn't used after this function, so there's no point in
changing its value.

Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c