Amir Goldstein
488e8f6852
fs: fork splice_file_range() from do_splice_direct()
...
In preparation of calling do_splice_direct() without file_start_write()
held, create a new helper splice_file_range(), to be called from context
of ->copy_file_range() methods instead of do_splice_direct().
Currently, the only difference is that splice_file_range() does not take
flags argument and that it asserts that file_start_write() is held, but
we factor out a common helper do_splice_direct_actor() that will be used
later.
Use the new helper from __ceph_copy_file_range(), that was incorrectly
passing to do_splice_direct() the copy flags argument as splice flags.
The value of copy flags in ceph is always 0, so it is a smenatic bug fix.
Move the declaration of both helpers to linux/splice.h.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20231130141624.3338942-2-amir73il@gmail.com
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-12-01 11:39:50 +01:00
..
2023-11-03 14:51:08 -10:00
2023-11-10 09:52:56 -08:00
2023-10-24 13:08:14 -07:00
2023-11-01 14:46:51 -10:00
2023-11-04 10:22:52 +01:00
2023-11-04 16:25:36 -10:00
2023-10-16 12:44:04 -04:00
2023-11-02 14:40:51 -10:00
2023-11-05 09:02:32 -10:00
2023-11-03 12:01:32 +01:00
2023-11-04 11:04:30 -10:00
2023-10-24 19:26:14 +00:00
2023-11-04 10:23:22 +01:00
2023-11-07 17:10:02 -08:00
2023-11-02 20:53:31 -10:00
2023-11-01 14:46:51 -10:00
2023-11-10 13:54:58 +00:00
2023-11-08 13:39:16 -08:00
2023-10-21 12:45:45 +02:00
2023-11-05 08:41:14 -10:00
2023-10-27 20:13:38 -07:00
2023-10-16 16:14:45 -07:00
2023-10-28 13:29:16 +02:00
2023-10-25 16:47:13 -07:00
2023-10-20 14:15:13 -07:00
2023-10-23 21:49:32 -07:00
2023-11-01 11:16:34 -10:00
2023-10-20 14:15:13 -07:00
2023-11-01 22:33:53 -07:00
2023-10-25 16:47:10 -07:00
2023-10-18 18:07:57 -07:00
2023-10-25 16:47:10 -07:00
2023-11-02 19:38:47 -10:00
2023-10-19 17:02:46 -07:00
2023-10-30 21:48:22 -04:00
2023-10-18 14:43:22 -07:00
2023-11-03 15:44:25 -10:00
2023-10-18 14:43:22 -07:00
2023-10-23 11:32:25 +02:00
2023-11-01 09:34:55 -10:00
2023-11-02 20:53:31 -10:00
2023-10-30 20:13:17 -10:00
2023-10-27 18:04:29 +08:00
2023-10-25 16:47:15 -07:00
2023-10-28 13:29:18 +02:00
2023-11-06 08:35:09 +01:00
2023-11-02 12:17:17 +01:00
2023-11-07 12:11:26 -08:00
2023-10-16 12:52:39 -07:00
2023-10-19 11:02:48 +02:00
2023-10-16 21:05:33 -07:00
2023-11-02 20:53:31 -10:00
2023-10-18 14:08:29 +02:00
2023-12-01 11:39:50 +01:00
2023-10-19 11:03:15 +02:00
2023-10-27 20:48:03 -07:00
2023-10-19 14:47:33 -04:00
2023-10-25 16:47:16 -07:00
2023-10-25 18:33:42 +02:00
2023-10-25 20:19:00 +02:00
2023-10-20 13:39:26 +08:00
2023-10-18 14:34:17 -07:00
2023-10-25 16:47:16 -07:00
2023-11-03 09:12:00 +00:00
2023-10-26 20:27:58 -07:00
2023-10-28 21:31:22 +09:00
2023-10-30 18:01:41 -10:00
2023-11-01 11:25:08 -10:00
2023-10-19 16:42:03 -06:00
2023-10-24 11:58:42 -03:00
2023-11-09 13:37:28 -08:00
2023-10-24 11:58:42 -03:00
2023-10-26 13:53:06 +02:00
2023-10-16 12:44:14 -04:00
2023-10-26 13:46:28 -07:00
2023-11-10 19:59:05 +09:00
2023-10-18 14:43:21 -07:00
2023-10-20 12:47:33 +01:00
2023-10-16 12:44:06 -04:00
2023-11-08 15:39:42 -05:00
2023-10-16 12:44:06 -04:00
2023-10-18 10:01:33 +02:00
2023-10-25 16:47:14 -07:00
2023-10-16 15:44:39 -07:00
2023-10-25 16:47:16 -07:00
2023-10-20 11:50:46 +01:00
2023-10-18 14:43:22 -07:00
2023-10-18 14:34:18 -07:00
2023-11-02 19:38:47 -10:00
2023-11-02 19:38:47 -10:00
2023-10-25 16:47:11 -07:00
2023-11-03 23:28:33 +01:00
2023-11-03 15:31:04 -10:00
2023-11-01 13:07:08 -07:00
2023-11-01 21:09:37 -10:00
2023-10-26 13:53:06 +02:00
2023-10-19 11:02:49 +02:00
2023-10-27 10:51:41 +01:00
2023-10-18 10:26:43 +02:00
2023-10-16 12:44:26 -04:00
2023-11-01 15:15:52 -04:00
2023-11-01 15:40:44 -04:00
2023-10-30 15:40:57 -10:00
2023-10-17 13:57:54 -07:00
2023-11-08 08:07:08 -08:00
2023-11-06 08:34:15 -08:00
2023-10-27 13:17:54 +02:00
2023-10-18 22:35:36 +09:00
2023-10-30 13:20:02 -10:00
2023-10-27 18:04:30 +08:00
2023-10-18 14:34:17 -07:00
2023-10-18 14:34:16 -07:00
2023-10-18 10:02:52 +02:00
2023-11-02 14:05:18 -10:00
2023-11-02 14:05:18 -10:00
2023-10-18 14:34:14 -07:00
2023-10-20 14:15:06 -07:00
2023-10-30 13:44:35 -10:00
2023-10-17 17:51:53 -07:00
2023-10-19 11:02:47 +02:00
2023-10-28 13:29:17 +02:00
2023-10-26 15:16:03 +02:00
2023-11-10 09:20:55 +01:00
2023-10-18 23:59:54 +09:00
2023-10-18 14:34:14 -07:00
2023-11-02 20:53:31 -10:00
2023-10-17 09:10:06 -06:00
2023-10-28 16:52:43 -04:00
2023-10-17 13:28:12 +02:00
2023-10-18 14:34:13 -07:00
2023-10-18 14:34:18 -07:00
2023-10-30 09:24:21 -10:00
2023-11-04 15:58:13 -10:00
2023-10-27 10:35:44 +01:00
2023-12-01 11:39:50 +01:00
2023-11-01 10:02:18 +00:00
2023-10-19 13:01:33 +02:00
2023-11-03 19:15:19 -10:00
2023-10-18 14:43:21 -07:00
2023-10-28 13:29:19 +02:00
2023-11-01 15:28:33 -10:00
2023-11-01 12:10:02 -07:00
2023-11-03 09:16:42 +00:00
2023-10-20 19:26:37 +02:00
2023-10-18 14:43:21 -07:00
2023-11-03 07:41:18 -10:00
2023-10-20 12:16:10 -04:00
2023-11-02 00:16:49 -04:00
2023-10-19 18:11:38 -07:00
2023-10-27 18:04:28 +08:00
2023-10-18 14:34:12 -07:00
2023-11-01 09:20:00 -04:00
2023-11-01 09:19:59 -04:00
2023-10-18 14:34:18 -07:00
2023-10-19 11:02:48 +02:00
2023-10-17 23:49:19 -10:00