Linus Torvalds
a66b4cd1e7
Merge branch 'work.open3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
...
Pull vfs open-related updates from Al Viro:
- "do we need fput() or put_filp()" rules are gone - it's always fput()
now. We keep track of that state where it belongs - in ->f_mode.
- int *opened mess killed - in finish_open(), in ->atomic_open()
instances and in fs/namei.c code around do_last()/lookup_open()/atomic_open().
- alloc_file() wrappers with saner calling conventions are introduced
(alloc_file_clone() and alloc_file_pseudo()); callers converted, with
much simplification.
- while we are at it, saner calling conventions for path_init() and
link_path_walk(), simplifying things inside fs/namei.c (both on
open-related paths and elsewhere).
* 'work.open3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (40 commits)
few more cleanups of link_path_walk() callers
allow link_path_walk() to take ERR_PTR()
make path_init() unconditionally paired with terminate_walk()
document alloc_file() changes
make alloc_file() static
do_shmat(): grab shp->shm_file earlier, switch to alloc_file_clone()
new helper: alloc_file_clone()
create_pipe_files(): switch the first allocation to alloc_file_pseudo()
anon_inode_getfile(): switch to alloc_file_pseudo()
hugetlb_file_setup(): switch to alloc_file_pseudo()
ocxlflash_getfile(): switch to alloc_file_pseudo()
cxl_getfile(): switch to alloc_file_pseudo()
... and switch shmem_file_setup() to alloc_file_pseudo()
__shmem_file_setup(): reorder allocations
new wrapper: alloc_file_pseudo()
kill FILE_{CREATED,OPENED}
switch atomic_open() and lookup_open() to returning 0 in all success cases
document ->atomic_open() changes
->atomic_open(): return 0 in all success cases
get rid of 'opened' in path_openat() and the helpers downstream
...
2018-08-13 19:58:36 -07:00
..
2018-06-26 12:06:09 -04:00
2018-06-14 16:35:32 +09:00
2018-06-12 16:19:22 -07:00
2018-03-21 18:46:30 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-01-04 01:13:28 -05:00
2018-06-12 16:19:22 -07:00
2018-04-09 21:32:45 -04:00
2018-08-13 19:58:36 -07:00
2018-04-03 17:38:39 -07:00
2017-06-20 12:18:27 +02:00
2018-06-12 16:19:22 -07:00
2018-08-02 15:30:03 -04:00
2018-06-12 16:19:22 -07:00
2018-05-28 22:40:32 -04:00
2018-03-15 00:52:33 -04:00
2017-12-04 22:56:04 -05:00
2018-06-12 16:19:22 -07:00
2018-08-02 15:30:03 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-08-03 13:52:23 -04:00
2018-03-01 21:07:48 -05:00
2018-06-10 13:01:12 -07:00
2018-03-19 22:54:47 -04:00
2018-06-12 16:19:22 -07:00
2018-07-10 22:25:23 -04:00
2018-07-30 22:30:32 -04:00
2018-07-30 22:04:39 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-05-18 12:22:49 -04:00
2018-03-26 11:13:09 +02:00
2018-06-12 16:19:22 -07:00
2017-10-25 05:40:22 -04:00
2018-05-08 01:32:18 -04:00
2017-12-04 20:32:53 -05:00
2017-12-04 20:32:53 -05:00
2018-05-08 01:32:43 -04:00
2017-08-25 17:21:11 -04:00
2017-11-02 11:10:55 +01:00
2018-05-01 23:31:40 -04:00
2017-08-25 17:21:10 -04:00
2017-11-02 11:10:55 +01:00
2017-08-25 17:21:10 -04:00
2017-11-02 11:10:55 +01:00
2017-04-04 19:39:39 -04:00
2017-08-25 17:21:11 -04:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2018-03-15 00:26:54 -04:00
2017-11-02 11:10:55 +01:00
2018-05-01 23:29:41 -04:00
2017-08-25 17:21:11 -04:00
2018-03-01 21:10:36 -05:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2017-04-21 10:31:33 -04:00
2017-08-24 22:29:06 -04:00
2017-11-02 11:10:55 +01:00
2017-10-27 02:22:00 -07:00
2017-11-02 11:10:55 +01:00
2017-08-25 17:21:11 -04:00
2018-05-18 12:03:51 -04:00
2018-03-15 00:25:37 -04:00
2017-08-10 19:55:35 -04:00
2017-11-02 11:10:55 +01:00
2017-08-25 17:21:11 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-29 08:59:21 -06:00
2018-03-17 14:45:23 -06:00
2017-08-25 17:21:10 -04:00
2017-11-02 11:10:55 +01:00
2018-04-09 16:34:41 -04:00
2017-10-25 04:55:18 -04:00
2018-07-10 22:25:03 -04:00
2018-07-10 22:25:03 -04:00
2017-08-25 17:21:10 -04:00
2017-08-25 17:21:11 -04:00
2017-11-02 11:10:55 +01:00
2018-06-18 21:02:52 -04:00
2018-02-13 21:49:14 -05:00
2018-04-20 19:40:17 -04:00
2018-04-20 19:40:17 -04:00
2018-04-19 00:00:44 -04:00
2018-03-12 22:05:43 -04:00
2018-04-19 00:00:44 -04:00
2017-08-22 16:34:36 +02:00
2018-01-03 23:10:06 -05:00
2018-07-12 23:08:09 -04:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2017-08-10 19:55:34 -04:00
2017-08-25 17:21:11 -04:00
2018-06-10 13:01:12 -07:00
2018-06-12 16:19:22 -07:00
2018-05-16 07:24:30 +02:00
2017-11-02 11:10:55 +01:00
2018-03-19 22:54:47 -04:00
2017-11-02 11:10:55 +01:00
2018-06-10 13:01:12 -07:00
2017-11-21 15:57:07 -08:00
2017-11-14 16:23:44 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-09-01 11:59:17 +02:00
2017-11-02 11:10:55 +01:00
2017-10-16 22:38:44 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2018-02-13 21:49:15 -05:00
2017-12-04 20:32:52 -05:00
2017-11-02 11:10:55 +01:00
2017-10-05 15:01:17 +02:00
2017-10-05 15:01:17 +02:00
2017-08-25 17:21:11 -04:00
2017-11-02 11:10:55 +01:00
2017-08-25 17:21:11 -04:00
2018-05-18 12:22:48 -04:00
2017-11-02 11:10:55 +01:00
2018-02-12 11:43:25 -05:00
2017-12-11 21:39:39 -05:00
2018-06-18 22:16:13 -04:00
2018-04-20 19:14:28 -04:00
2017-04-26 15:09:04 -06:00
2018-04-20 19:14:36 -04:00
2018-04-18 19:34:08 -04:00
2018-07-24 14:41:52 -06:00
2017-08-25 17:08:07 -04:00
2017-11-02 11:10:55 +01:00
2018-06-10 13:01:12 -07:00
2017-11-14 16:23:44 -08:00
2017-04-13 13:58:20 -04:00
2017-12-07 21:13:45 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 22:30:24 -05:00
2018-04-20 19:14:35 -04:00
2017-11-02 11:10:55 +01:00
2018-06-19 11:27:18 -06:00
2018-05-29 13:00:25 -06:00
2018-06-10 13:01:12 -07:00
2018-02-15 18:20:14 -05:00
2018-06-04 07:58:06 -07:00
2018-02-27 22:26:12 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-10 22:25:03 -04:00
2018-04-18 23:37:40 -04:00
2018-04-19 00:00:44 -04:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2018-07-12 23:08:13 -04:00
2017-08-25 17:21:10 -04:00
2017-03-15 19:27:46 -04:00
2018-05-21 12:21:14 -06:00
2017-11-02 11:10:55 +01:00
2018-08-03 13:53:51 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2017-04-26 18:32:29 -04:00
2018-06-10 13:01:12 -07:00
2017-08-25 17:21:11 -04:00
2018-03-12 22:05:43 -04:00
2017-06-27 21:46:55 -04:00
2018-06-12 16:19:22 -07:00
2018-08-03 13:56:22 -04:00
2017-08-25 17:21:10 -04:00
2018-05-01 23:30:12 -04:00
2017-11-02 11:10:55 +01:00
2018-06-19 14:54:41 +02:00
2017-08-22 16:34:36 +02:00
2018-04-19 00:00:44 -04:00