From patchwork Mon Dec 12 15:36:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Seth Forshee (DigitalOcean)" X-Patchwork-Id: 32424 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2311060wrr; Mon, 12 Dec 2022 07:38:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf6iZvkA7lm3d5iyMrVUL3aQc905BaiSNPTLwNJOJq7uI201Cl7YJB7jXYTIZQjmDUoRRHTP X-Received: by 2002:a17:906:abcd:b0:7ad:2da5:36ec with SMTP id kq13-20020a170906abcd00b007ad2da536ecmr15054856ejb.41.1670859490877; Mon, 12 Dec 2022 07:38:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670859490; cv=none; d=google.com; s=arc-20160816; b=Z8kKkGwnsOuZQ+KKRottYG5PpwUrbnGAlD0As32c18bSr5lwCnYjSlP+F0l1rhfKGi e9XzsrnS+OFosa6Hu6Qxo26E58kT8+MX1sw/4sIh3d3YMGM4BG3pHW55OIFaYuh6RJVC rzkGFLRPiXRznIYz6W06iFLC/unXTdkoOce6nVdVvgrD1T4CuM2EhOlmsfySgB1w1sjR +eu4Fr5FS6GoRrlQqKssa4TJdOpwq+yn8MVgjokHWNqZBQYufkWq5e31wndY2jxbGC1O v76uexBQCsR5PK1QWN3wXAgOxb9ZS+ha91HWiYZMsKVu8I41R4MHUt1/N/C541vmaXMP DdGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=2X0TR6SAJqgvzzB2b3/VxSHJNwBB1uSkORla/9/DdO0=; b=kqz99pAaBqVI5qicxbh7axpxWbqc0RmDehSnQ59KfKml+5GeENGPb2ePyFk86BkLHY Mrjyx1WTmzV7W2AwHWjfDHhjGvtFvIhgxXLwNc18BskTqsNg+UI/aknBF0TICY0S7nsw 2gzrrDAdzFnEPpGSwIo2zGjp82e6lGOBRuKAvgO1cW6p2HsTOOt41UPqL/wEKDBMQ5dE fPZXVHqFG406QlKoZgyTCN/ObvBPAGM6aVENXnk4mXWzecIIPo11Ig5bau3KrAJqHj50 Z84KXprY6eUZJQ4dG8nR3wz6wOC4isi9/mgo6RZrFVRGIS2nueSRm3QPCzf96g7Zr2zc DRHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UfYkprtQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jw17-20020a17090776b100b007aa1aa8ca57si5556351ejc.859.2022.12.12.07.37.47; Mon, 12 Dec 2022 07:38:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UfYkprtQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232019AbiLLPhG (ORCPT + 99 others); Mon, 12 Dec 2022 10:37:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232072AbiLLPg6 (ORCPT ); Mon, 12 Dec 2022 10:36:58 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50211BC88; Mon, 12 Dec 2022 07:36:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D7EB86112C; Mon, 12 Dec 2022 15:36:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21986C433D2; Mon, 12 Dec 2022 15:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670859416; bh=od2TMT/vaFw2wdDOF/gVdOoT/7b4vq6h1uWX9f9jJjg=; h=Date:From:To:Cc:Subject:From; b=UfYkprtQjRNu1in+fV8pmRLpfkJQn3UPv/+PogRYMpFPEooWNWnisCZsV3Zqn1kny ltkF9z6oHyK9sodWH7BgGcfoc/XsQalBX5bdHmY9xXZ/XyfA6h93G2FtDyD7UMGhpi NErl81WctQOYFaQrfCFhR+NcvG374uAv0GOOAvR7ZseNau+T+3FaBjrEDdFpaT1a6G 9WzjQ08We3oGfv9Xj1fwVUwneNmlHGNd/Sf1yUNlegjyNVTovYqam4dYgMOoeGINAM UztMTPpzIuf3LbsIO1fV1ZuSdvjTDtA1gL4se0pOhuwt4G4xl5StCApbTx68V+KcLm U4C5/C/uIH3cA== Date: Mon, 12 Dec 2022 09:36:55 -0600 From: Seth Forshee To: Linus Torvalds Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] enable squashfs idmapped mounts for v6.2 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752023161933960278?= X-GMAIL-MSGID: =?utf-8?q?1752023161933960278?= Hi Linus, /* Summary */ This is a simple patch to enable idmapped mounts for squashfs. All functionality squashfs needs to support idmapped mounts is already implemented in generic VFS code, so all that is needed is to set FS_ALLOW_IDMAP in fs_flags. /* Testing */ The patch is based off of 6.1-rc1 and has been sitting in linux-next. No build failures or warnings were observed and fstests, selftests, and LTP show no regressions. /* Conflicts */ At the time of creating this PR no merge conflicts were reported from linux-next. A test merge with current mainline also showed no conflicts. The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git tags/fs.idmapped.squashfs.v6.2 for you to fetch changes up to 42da66ac7bcb19181385e851094ceedfe7c81984: squashfs: enable idmapped mounts (2022-11-07 10:24:22 +0100) Please consider pulling these changes from the signed fs.idmapped.squashfs.v6.2 tag. Thanks! Seth ---------------------------------------------------------------- fs.idmapped.squashfs.v6.2 ---------------------------------------------------------------- Michael Weiß (1): squashfs: enable idmapped mounts fs/squashfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)