From patchwork Sun Jul 22 16:39:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Viro X-Patchwork-Id: 10539351 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C273D1805 for ; Sun, 22 Jul 2018 16:39:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8C17283BD for ; Sun, 22 Jul 2018 16:39:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CD75283CF; Sun, 22 Jul 2018 16:39:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A6BA283BD for ; Sun, 22 Jul 2018 16:39:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730078AbeGVRgZ (ORCPT ); Sun, 22 Jul 2018 13:36:25 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:52208 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729936AbeGVRgZ (ORCPT ); Sun, 22 Jul 2018 13:36:25 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fhHO1-0000xY-QW; Sun, 22 Jul 2018 16:39:09 +0000 Date: Sun, 22 Jul 2018 17:39:09 +0100 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [git pull] vfs.git assorted fixes Message-ID: <20180722163909.GG30522@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)