From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 227B2C433F5 for ; Tue, 7 Sep 2021 07:26:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 092926109D for ; Tue, 7 Sep 2021 07:26:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233149AbhIGH14 (ORCPT ); Tue, 7 Sep 2021 03:27:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbhIGH1z (ORCPT ); Tue, 7 Sep 2021 03:27:55 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEF9CC061575 for ; Tue, 7 Sep 2021 00:26:49 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id x11so17914360ejv.0 for ; Tue, 07 Sep 2021 00:26:49 -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; bh=IWZdd34mYgIPewtgc5tJtV8hbSTMXe/opG3OPllHdhA=; b=aJL5RU3be4VNEvtQHHggMa3w2xhD6DUNln6TqrlWmXjHBx3Y+tTRHAjqf38TcAkkYs d3Puy2cd/AOoPSHdM00SuqgtqIXakD0rR8HKBvXcniWIGnNiiWxzFdVRPkA8AgOGbAQl JCE4LB8XhxSK+77L1zooc6EEqGYRFhSrZUwQA= 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; bh=IWZdd34mYgIPewtgc5tJtV8hbSTMXe/opG3OPllHdhA=; b=dLnZvBRuCuAx4DVpv7X0iKJQ/OilrX2iUolGanrUB/BAyax/U3OyTM5KUoQZDwoAIq unqnCzdIMOUqWyjiMEohkWhvQEExNRSgab9Pcj6S9Zl7WafMiLuhHblwvXQuJs6Hi3uT I5onhTR5qR3G7fz3vbPGbUjqyIJvvbpzVeeV6uhvgSK89JkPj38Ff7e73Jyyr4hMB9em 3CXyTFcL4FcExPXYUVgKrnhSt14EDI2c21j6X2xJtomeMJGK7k9H4m3KgBHHRj8Tcv+c t6Ly0XvnWxW1MjpQPlB8yhFXzz7PTr/Jdfkgf/6lccngnQ3DsV5nweUnWCx9BzR3GLzu /7lA== X-Gm-Message-State: AOAM53267xanrhk7HZmD6Cq7F0NGZ2mQoaoxy3F4St8SeNBMHikjljp7 fOlwNQi2QT7URqPN94pc1IWWdw== X-Google-Smtp-Source: ABdhPJx9aaD2luS3+7Z2YZO5jby4bcPmlEONqstwpExgmeqfKB0+0p41yoEhopszjtcse2ss1fxsHQ== X-Received: by 2002:a17:906:608e:: with SMTP id t14mr17228650ejj.441.1630999608158; Tue, 07 Sep 2021 00:26:48 -0700 (PDT) Received: from miu.piliscsaba.redhat.com (catv-86-101-169-16.catv.broadband.hu. [86.101.169.16]) by smtp.gmail.com with ESMTPSA id c10sm5071451eje.37.2021.09.07.00.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Sep 2021 00:26:47 -0700 (PDT) Date: Tue, 7 Sep 2021 09:26:45 +0200 From: Miklos Szeredi To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [GIT PULL] fuse update for 5.15 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-5.15 - Allow mounting an active fuse device. Previously the fuse device would always be mounted during initialization, and sharing a fuse superblock was only possible through mount or namespace cloning - Fix data flushing in syncfs (virtiofs only) - Fix data flushing in copy_file_range() - Fix a possible deadlock in atomic O_TRUNC - Misc fixes and cleanups The recent commit dates for the two head commits are due to a trival bug fix being folded in. Thanks, Miklos --- Miklos Szeredi (9): fuse: fix use after free in fuse_read_interrupt() fuse: name fs_context consistently fuse: move option checking into fuse_fill_super() fuse: move fget() to fuse_get_tree() fuse: allow sharing existing sb fuse: truncate pagecache on atomic_o_trunc fuse: flush extending writes fuse: wait for writepages in syncfs fuse: remove unused arg in fuse_write_file_get() --- fs/fuse/control.c | 10 +-- fs/fuse/dev.c | 4 +- fs/fuse/file.c | 45 ++++++++---- fs/fuse/fuse_i.h | 20 ++++++ fs/fuse/inode.c | 203 ++++++++++++++++++++++++++++++++++++++-------------- fs/fuse/virtio_fs.c | 12 ++-- 6 files changed, 214 insertions(+), 80 deletions(-)