Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8095074ybi; Thu, 6 Jun 2019 06:39:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqybqNsFsrbJdkycC8/HX+qZR5XE2k/tJoF8is1MCsXNTXFpTm5Rjwl8vIT49hdqDAFNQY09 X-Received: by 2002:a63:87c8:: with SMTP id i191mr3474492pge.131.1559828382309; Thu, 06 Jun 2019 06:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559828382; cv=none; d=google.com; s=arc-20160816; b=YfUGYdLEpwtqSl5KdGs6Hfx5zZz+3nhrvqW3U7yqZqTnhkRrhVNhHq7598Sb5EuJ1M wGxXSn3hcRskRs9ZCpyugK009+lM1yM3EDjfNR8dZMMiDnFD44w9451XQIsOanRQq1D+ CYJ28qQ3slYau8ERX8Vzim/ObQpo2+iyeaCPgQR6RFizhw5b/h4FxtTwsRqxznRSvAY4 cSVBr5/FMqBfEV2C0bSUjVWFsFG4+TKMFM9Ct04/P486uSjQAKBhw7YY1NuNO4wEMzLq 4tUyPFqkizOhFcLiItFVRRvARIQ4nIoxgY5azrl3dGhL38FPUg7852anG8MX9GUBSgwS 0kJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=dMQoje3A+0QuY6d03qdojH8LCBsthMNo+3SlZkjo5Dg=; b=0FzPjNKsPIbFq4KdbGc5Wg83XfEJ9uMNgrQ72HOMe2ipJ6Sq9Bygonw+kNU+4DwMxg tpPwxPawrCvFbkWT557SF1LFAw3Y5E3KZfiDPj3vexHFPO1awJEhpAQxGBV3t1fZ9egh nqaE7HO22+r46y0iZLSY4M/1vDPQq74lynOvNuqYStJuf8eNXXe+10ssWRWEbMnWeDa1 vmF88DdcFgPepW4puOKFgUyZg8bhNXozbfSlCk6eWq6LDOL/dsYRN/QDyl7NyifOSS39 Gj9KA5qm/Eykd+Iobfcjfbb7M3xj/X+9VyKmQ7vLdWRSDGNnxWM/WA8nBUIVfXNgGqB3 KTeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=JcFFeyYh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i95si1836206plb.106.2019.06.06.06.39.24; Thu, 06 Jun 2019 06:39:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=JcFFeyYh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727709AbfFFNg7 (ORCPT + 99 others); Thu, 6 Jun 2019 09:36:59 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41630 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727009AbfFFNg7 (ORCPT ); Thu, 6 Jun 2019 09:36:59 -0400 Received: by mail-wr1-f68.google.com with SMTP id c2so2460637wrm.8 for ; Thu, 06 Jun 2019 06:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=dMQoje3A+0QuY6d03qdojH8LCBsthMNo+3SlZkjo5Dg=; b=JcFFeyYh1751+B47UcZHbFJZ+QYlZUmSkfkKyepILPP91d69zlPjfNw4NUshuxLjuv c6+f+6AJ4xxxwgIl2CbkBXFQZEpDWxbTvGrRoV1RKknqD1mmRiYzylSYYDu8gRRQi2W5 Spbo8ckjPSBHizQyNoOlm7DULD9gs7T+7S030= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=dMQoje3A+0QuY6d03qdojH8LCBsthMNo+3SlZkjo5Dg=; b=MhIS3eY/njF6t9yQQRov5VBnKCiqpEm6V8yt7fHWw+HCLdsLZe5iiRr3l3lC/uX3ui x/scIrUDxGvohCPBsOlnL1r2YOCejrXYchwUsbp/1Er212wMFBBvFH0yAqAM7gKTCJI2 TlW/9oyjhEhT+K+AZ8bVAhFbOsN6qCAH+RnYX8Tpxqm6hagTxfTQUN5f05Z8xZIc2Ad8 Cr0cEUpnIbXjgxNcn2D/a+Z1aTzZUT4yEypEpmrgVvYoUTGMn3Mbb8rlI1n2QEzMxNVR GiJ/NjlT2YmAuekXoYHGF4J6sXor+H6qUlqXUqAKGu72Rs9shL5uiKqTF9VGiABTQR45 hirA== X-Gm-Message-State: APjAAAUkwdl+83hZAmZHwBn3j84f6Dwh0CohVgqcVPhy7m+LVzRXCAPj jK7MzfMst38q6WVK2JKsJDbkIC5ci4E= X-Received: by 2002:a5d:684c:: with SMTP id o12mr16899507wrw.305.1559828217675; Thu, 06 Jun 2019 06:36:57 -0700 (PDT) Received: from miu.piliscsaba.redhat.com (catv-212-96-48-140.catv.broadband.hu. [212.96.48.140]) by smtp.gmail.com with ESMTPSA id s9sm1809917wmc.1.2019.06.06.06.36.56 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 06 Jun 2019 06:36:56 -0700 (PDT) Date: Thu, 6 Jun 2019 15:36:50 +0200 From: Miklos Szeredi To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [GIT PULL] fuse fixes for 5.2-rc4 Message-ID: <20190606133650.GA26408@miu.piliscsaba.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-fixes-5.2-rc4 This fixes a leaked inode lock in an error cleanup path and a data consistency issue with copy_file_range(). It also adds a new flag for the WRITE request that allows userspace filesystems to clear suid/sgid bits on the file if necessary. Thanks, Miklos ---------------------------------------------------------------- Miklos Szeredi (4): fuse: fallocate: fix return with locked inode fuse: add FUSE_WRITE_KILL_PRIV fuse: fix copy_file_range() in the writeback case fuse: extract helper for range writeback --- fs/fuse/file.c | 43 ++++++++++++++++++++++++++++++++----------- include/uapi/linux/fuse.h | 7 ++++++- 2 files changed, 38 insertions(+), 12 deletions(-)