Linus Torvalds
41bc10cabe
Merge tag 'stream_open-5.2' of https://lab.nexedi.com/kirr/linux
...
Pull stream_open conversion from Kirill Smelkov:
- remove unnecessary double nonseekable_open from drivers/char/dtlk.c
as noticed by Pavel Machek while reviewing nonseekable_open ->
stream_open mass conversion.
- the mass conversion patch promised in commit 10dce8af34 ("fs:
stream_open - opener for stream-like files so that read and write can
run simultaneously without deadlock") and is automatically generated
by running
$ make coccicheck MODE=patch COCCI=scripts/coccinelle/api/stream_open.cocci
I've verified each generated change manually - that it is correct to
convert - and each other nonseekable_open instance left - that it is
either not correct to convert there, or that it is not converted due
to current stream_open.cocci limitations. More details on this in the
patch.
- finally, change VFS to pass ppos=NULL into .read/.write for files
that declare themselves streams. It was suggested by Rasmus Villemoes
and makes sure that if ppos starts to be erroneously used in a stream
file, such bug won't go unnoticed and will produce an oops instead of
creating illusion of position change being taken into account.
Note: this patch does not conflict with "fuse: Add FOPEN_STREAM to
use stream_open()" that will be hopefully coming via FUSE tree,
because fs/fuse/ uses new-style .read_iter/.write_iter, and for these
accessors position is still passed as non-pointer kiocb.ki_pos .
* tag 'stream_open-5.2' of https://lab.nexedi.com/kirr/linux :
vfs: pass ppos=NULL to .read()/.write() of FMODE_STREAM files
*: convert stream-like files from nonseekable_open -> stream_open
dtlk: remove double call to nonseekable_open
2019-05-07 12:15:13 -07:00
..
2019-04-16 15:15:52 -07:00
2019-04-15 17:19:53 -07:00
2014-10-03 08:19:02 -07:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2018-12-16 15:13:30 -08:00
2013-04-16 18:27:52 -07:00
2018-12-16 15:13:31 -08:00
2018-12-16 15:13:31 -08:00
2019-04-15 17:19:53 -07:00
2019-02-25 09:06:00 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:33 -08:00
2018-12-16 15:13:34 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-17 10:37:23 -07:00
2018-12-16 15:13:36 -08:00
2018-12-16 15:13:38 -08:00
2017-11-02 11:10:55 +01:00
2015-10-28 10:30:17 +09:00
2013-04-07 21:16:38 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2018-12-16 15:13:37 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:38 -08:00
2018-12-16 15:13:39 -08:00
2017-01-02 10:19:45 -08:00
2017-10-29 18:36:03 -07:00
2018-12-16 15:13:39 -08:00
2018-12-16 15:13:47 -08:00
2017-01-02 10:19:45 -08:00
2018-12-16 15:13:41 -08:00
2018-12-16 15:13:41 -08:00
2018-12-16 15:13:42 -08:00
2019-02-18 14:23:29 -08:00
2017-01-10 08:57:55 -08:00
2018-12-16 15:13:43 -08:00
2018-12-16 15:13:43 -08:00
2018-12-16 15:13:45 -08:00
2018-12-16 15:13:44 -08:00
2018-12-16 15:13:44 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2013-10-13 16:16:27 -07:00
2017-01-02 10:19:45 -08:00
2019-05-06 17:46:41 +03:00
2018-12-16 15:13:46 -08:00
2017-01-02 10:19:45 -08:00
2018-03-10 19:00:14 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2018-02-15 01:15:52 +01:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2018-11-04 15:55:12 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-18 06:44:11 -07:00
2017-08-13 08:24:38 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2018-12-28 19:48:25 -08:00
2019-04-20 07:08:15 -07:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2017-01-21 12:26:38 -08:00
2019-02-18 14:23:29 -08:00
2019-05-03 13:16:18 -07:00
2013-03-18 21:19:49 +01:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2018-12-16 15:13:24 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:23 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:25 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-17 10:37:23 -07:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2014-08-04 07:01:39 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-23 06:30:38 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2017-01-02 10:19:45 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-06-12 16:19:22 -07:00
2019-01-27 18:55:49 -08:00
2018-12-16 15:13:25 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-23 06:43:32 -07:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-17 10:37:23 -07:00
2019-02-18 14:23:29 -08:00
2014-06-12 08:36:48 -07:00
2019-04-15 17:19:53 -07:00
2014-08-04 07:01:37 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:28 -08:00
2019-04-15 17:19:53 -07:00
2014-10-20 16:20:36 +02:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2014-04-04 18:01:34 +02:00
2014-08-04 07:01:34 -07:00
2017-04-02 07:01:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2017-11-16 01:01:55 -08:00
2017-11-16 01:02:23 -08:00
2017-11-16 01:02:43 -08:00
2019-05-06 17:46:41 +03:00
2018-11-18 14:34:56 -08:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2017-11-01 06:14:52 -07:00