[git pull] vfs.git assorted fixes
From: Al Viro
Date: Sun Jul 22 2018 - 12:39:14 EST
Fix several places that screw up cleanups after failures halfway
through opening a file (one open-coding filp_clone_open() and getting
it wrong, two misusing alloc_file()). That part is -stable fodder from
#work.open.
And Christoph's regression fix for uapi breakage in aio series;
include/uapi/linux/aio_abi.h shouldn't be pulling in the kernel definition
of sigset_t, the reason for doing so in the first place had been bogus -
there's no need to expose struct __aio_sigset in aio_abi.h at all.
The following changes since commit 877f919e192a09e77962a13d7165783027dee5fd:
proc: add proc_seq_release (2018-06-27 20:44:38 -0400)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes
for you to fetch changes up to 9ba546c01976a426292af99e682a557075d6c010:
aio: don't expose __aio_sigset in uapi (2018-07-17 23:26:58 -0400)
----------------------------------------------------------------
Al Viro (3):
drm_mode_create_lease_ioctl(): fix open-coded filp_clone_open()
cxl_getfile(): fix double-iput() on alloc_file() failures
ocxlflash_getfile(): fix double-iput() on alloc_file() failures
Christoph Hellwig (1):
aio: don't expose __aio_sigset in uapi
drivers/gpu/drm/drm_lease.c | 16 +---------------
drivers/misc/cxl/api.c | 8 ++++----
drivers/scsi/cxlflash/ocxl_hw.c | 5 ++---
fs/aio.c | 5 +++++
fs/internal.h | 1 -
include/linux/fs.h | 1 +
include/linux/syscalls.h | 1 +
include/uapi/linux/aio_abi.h | 6 ------
8 files changed, 14 insertions(+), 29 deletions(-)