kernel-hacking-2024-linux-s.../fs/ext2
Miklos Szeredi 863f144f12 vfs: open inside ->tmpfile()
This is in preparation for adding tmpfile support to fuse, which requires
that the tmpfile creation and opening are done as a single operation.

Replace the 'struct dentry *' argument of i_op->tmpfile with
'struct file *'.

Call finish_open_simple() as the last thing in ->tmpfile() instances (may
be omitted in the error case).

Change d_tmpfile() argument to 'struct file *' as well to make callers more
readable.

Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2022-09-24 07:00:00 +02:00
..
acl.c
acl.h
balloc.c ext2: fix sleeping in atomic bugs on error 2021-09-22 13:05:23 +02:00
dir.c ext2: Use a folio in ext2_get_page() 2022-08-02 12:34:03 -04:00
ext2.h ext2: remove nobh support 2022-08-02 12:34:04 -04:00
file.c
ialloc.c remove bdi_congested() and wb_congested() and related functions 2022-03-22 15:57:01 -07:00
inode.c Folio changes for 6.0 2022-08-03 10:35:43 -07:00
ioctl.c
Kconfig
Makefile
namei.c vfs: open inside ->tmpfile() 2022-09-24 07:00:00 +02:00
super.c - The usual batches of cleanups from Baoquan He, Muchun Song, Miaohe 2022-08-05 16:32:45 -07:00
symlink.c
xattr.c ext2: avoid deleting xattr block that is being reused 2022-08-02 23:56:25 -04:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c