Skip to content

RFC drm_mode_create_lease_ioctl(): fix open-coded filp_clone_open()

Al Viro linux-fsdevel linux-next lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest42 patches 34 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/42drm_mode_create_lease_ioctl(): fix open-coded filp_clone_open()drivers/gpu/drm/drm_lease.c fs/internal.h include/linux/fs.h+2 -1626 replies
2/42cxl_getfile(): fix double-iput() on alloc_file() failuresdrivers/misc/cxl/api.c+4 -40 replies
3/42ocxlflash_getfile(): fix double-iput() on alloc_file() failuresdrivers/scsi/cxlflash/ocxl_hw.c+2 -30 replies
4/42make get_empty_filp() to call file_free_rcu() directlyfs/file_table.c+2 -22 replies
5/42fold security_file_free() into file_free()fs/file_table.c+2 -40 replies
6/42turn filp_clone_open() into inline wrapper for dentry_open()drivers/gpu/drm/drm_lease.c fs/binfmt_misc.c fs/open.c +1 more+6 -230 replies
7/42create_pipe_files(): use fput() if allocation of the second file failsfs/pipe.c+3 -40 replies
8/42make sure do_dentry_open() won't return positive as an errorfs/open.c+4 -02 replies
9/42pass creds to get_empty_filp(), make sure dentry_open() passes the right credsfs/file_table.c fs/internal.h fs/namei.c +1 more+5 -60 replies
10/42get rid of cred argument of vfs_open() and do_dentry_open()fs/internal.h fs/namei.c fs/open.c+9 -120 replies
11/42security_file_open(): lose cred argumentfs/open.c include/linux/security.h security/security.c+5 -60 replies
12/42->file_open(): lose cred argumentinclude/linux/lsm_hooks.h security/apparmor/lsm.c security/security.c +3 more+10 -100 replies
13/42introduce FMODE_OPENEDfs/file_table.c fs/open.c include/linux/fs.h+5 -20 replies
14/42fold put_filp() into fput()fs/file_table.c fs/namei.c fs/open.c +1 more+10 -210 replies
15/42lift fput() on late failures into path_openat()fs/namei.c+12 -161 reply
16/42now we can fold open_check_o_direct() into do_dentry_open()fs/internal.h fs/namei.c fs/open.c+6 -193 replies
17/42switch all remaining checks for FILE_OPENED to FMODE_OPENEDfs/gfs2/inode.c fs/namei.c fs/open.c+5 -130 replies
18/42introduce FMODE_CREATED and switch to itfs/9p/vfs_inode.c fs/9p/vfs_inode_dotl.c fs/ceph/file.c +8 more+21 -160 replies
19/42IMA: don't propagate opened through the entire thingfs/namei.c fs/nfsd/vfs.c include/linux/ima.h +3 more+16 -170 replies
20/42getting rid of 'opened' argument of ->atomic_open() - step 1fs/9p/vfs_inode.c fs/9p/vfs_inode_dotl.c fs/ceph/file.c +7 more+12 -140 replies
21/42getting rid of 'opened' argument of ->atomic_open() - part 2fs/fuse/dir.c fs/gfs2/inode.c fs/nfs/dir.c+13 -150 replies
22/42get rid of 'opened' argument of ->atomic_open() - part 3fs/9p/vfs_inode.c fs/9p/vfs_inode_dotl.c fs/bad_inode.c +10 more+13 -210 replies
23/42get rid of 'opened' in path_openat() and the helpers downstreamfs/namei.c+8 -140 replies
24/42->atomic_open(): return 0 in all success casesfs/namei.c fs/open.c+17 -170 replies
25/42document ->atomic_open() changesDocumentation/filesystems/Locking Documentation/filesystems/porting Documentation/filesystems/vfs.txt+19 -90 replies
26/42switch atomic_open() and lookup_open() to returning 0 in all success casesfs/namei.c+17 -170 replies
27/42kill FILE_{CREATED,OPENED}include/linux/fs.h+0 -40 replies
28/42new wrapper: alloc_file_pseudo()fs/aio.c fs/file_table.c include/linux/file.h +1 more+40 -430 replies
29/42__shmem_file_setup(): reorder allocationsmm/shmem.c+20 -230 replies
30/42... and switch shmem_file_setup() to alloc_file_pseudo()mm/shmem.c+8 -310 replies
31/42cxl_getfile(): switch to alloc_file_pseudo()drivers/misc/cxl/api.c+4 -170 replies
32/42ocxlflash_getfile(): switch to alloc_file_pseudo()drivers/scsi/cxlflash/ocxl_hw.c+4 -190 replies
33/42hugetlb_file_setup(): switch to alloc_file_pseudo()fs/hugetlbfs/inode.c+17 -380 replies
34/42anon_inode_getfile(): switch to alloc_file_pseudo()fs/anon_inodes.c+6 -230 replies
35/42create_pipe_files(): switch the first allocation to alloc_file_pseudo()fs/pipe.c+6 -250 replies
36/42new helper: alloc_file_clone()fs/file_table.c fs/pipe.c include/linux/file.h+14 -30 replies
37/42do_shmat(): grab shp->shm_file earlier, switch to alloc_file_clone()ipc/shm.c+18 -210 replies
38/42make alloc_file() staticfs/file_table.c include/linux/file.h+1 -40 replies
39/42document alloc_file() changesDocumentation/filesystems/porting+12 -00 replies
40/42make path_init() unconditionally paired with terminate_walk()fs/namei.c+16 -160 replies
41/42allow link_path_walk() to take ERR_PTR()fs/namei.c+5 -330 replies
42/42few more cleanups of link_path_walk() callersfs/namei.c+11 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread