-
- Downloads
splice: return type ssize_t from all helpers
Not sure why some splice helpers return long, maybe historic reasons. Change them all to return ssize_t to conform to the splice methods and to the rest of the helpers. Suggested-by:Christian Brauner <brauner@kernel.org> Link: https://lore.kernel.org/r/20231208-horchen-helium-d3ec1535ede5@brauner/ Signed-off-by:
Amir Goldstein <amir73il@gmail.com> Link: https://lore.kernel.org/r/20231212094440.250945-2-amir73il@gmail.com Reviewed-by:
Jan Kara <jack@suse.cz> Signed-off-by:
Christian Brauner <brauner@kernel.org>
Showing
- fs/internal.h 4 additions, 4 deletionsfs/internal.h
- fs/overlayfs/copy_up.c 1 addition, 1 deletionfs/overlayfs/copy_up.c
- fs/read_write.c 1 addition, 1 deletionfs/read_write.c
- fs/splice.c 53 additions, 51 deletionsfs/splice.c
- include/linux/splice.h 21 additions, 22 deletionsinclude/linux/splice.h
- io_uring/splice.c 2 additions, 2 deletionsio_uring/splice.c
Loading
Please register or sign in to comment