Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2471020pxb; Fri, 5 Feb 2021 20:31:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHdMKmykpMnETzssDtzBXSXhHVQ04cQnhxgxqrBUedMTXc2txCYL60GNRDkLk2b7FALy1z X-Received: by 2002:aa7:d901:: with SMTP id a1mr6784816edr.120.1612585881899; Fri, 05 Feb 2021 20:31:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612585881; cv=none; d=google.com; s=arc-20160816; b=ciw026P6LbnQ0/0mbhRk2K4GsQGIImyRzHY1lDubq3s/b1SQwDQBh6anK75009Iu7w 0a3SKKQy5FrrEJ7yDSNIfAQneZf6oWWsu6ky30xGXj2FYGeIW9DM0je+wbWxXwRcxXal ZsuOBbviPUS0w9Y8a98VhY9rZg/hKJ+05cuFM2FCfJtrm2omVuGxusu7uGdYO/dMe/2h xmgMsVzIna1DT1h7qV8QSmIIKuhHLW4CJ3vBtBxRQL2h1H7YdBiOmC4+7cei2GK4c500 MUZWksdX1CTp6mWMa1CiYzESgKE1rSPkv3zTnHKEsHAen9pQ9DmMoiBLCGXIcnLMWf/x 3xSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=jL+PN/3Ia+pzgjJLL+mRMyGT9OjrJOTglHNfm1iXNKw=; b=ZfYL68ZSsufPtpaNVt3pCO8zFrFVa//hqEAmPTv5+CNSLfVZ7v1lHExCaJlSppMRpy gT0s1vzn7vVa3sHz/vH4VUmQnLZ76em7KHlt27e5Zd2OZ5nIMuvRa6hY+qE0vXyZpgrA 9Euk16OyDiQy4hVinbY4UOogtoOxBVhq9ZEDW8X7jSz1aw2mDQymT0uw2u6xUbqnPecm xQwduREe/uDuCw2oktY6iN289vWaOLcV7/G7ksl9Z5E7nXfDmwNhkxDG9wsSzAjYwxV1 K3yKkvf2eonbfv5O3N3GoI0AMaYk3XM8JyYp36BKJbM2tQXBWuHE3dNb4lGjrt9kQwaV DWLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si6247057ejr.344.2021.02.05.20.30.58; Fri, 05 Feb 2021 20:31:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230286AbhBFE2C (ORCPT + 99 others); Fri, 5 Feb 2021 23:28:02 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:50930 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232364AbhBFDSj (ORCPT ); Fri, 5 Feb 2021 22:18:39 -0500 Received: from mail-oi1-f197.google.com ([209.85.167.197]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l8ABD-00085H-6N for linux-kernel@vger.kernel.org; Fri, 05 Feb 2021 23:06:23 +0000 Received: by mail-oi1-f197.google.com with SMTP id l4so2926050oif.16 for ; Fri, 05 Feb 2021 15:06:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jL+PN/3Ia+pzgjJLL+mRMyGT9OjrJOTglHNfm1iXNKw=; b=UebJ7skcbBpZQCuor7m+PnlincUlWou4HaR4WPeFXTWrHQsl4UnC/gvqVQe4cOlgTV eg2jkNcecVRmUKkvYTNMPOVhzGL/r7upIoLx2+iDbXjc1Q1X77zru8WFQhEcAuKfh7cF 7Zu2lTCf95p3JwGulMQxaeqsWMeTrR4ieizYvhqpeGsLVtotmFCExuRG4xbWO4OWZ0Xo hPgOmYOvi31qFtgmSw2qqJixSIZ25zP+4U66D5KK/KUuZgja+ouimWy6NcimakcH0i0n FV4baU/bWALhwU6H4IEdwNeY2LhKdBqq3Nhd63gKQHzojeK1czt4Pd0By7kTeVF+DZtm mjlQ== X-Gm-Message-State: AOAM531mfQzlF8U6PWdMGaSytZNmlFIC+elISo1JWqK/pnA5lJnyAyvs qSyWBjFxNsl+9MNUBrCmRq5nzDr3dTEWFXo1AYgZmJlfM3CE4OnYg4byv8XirBLy7WBnCZdQD1o NR3/WBKHeJzqCoYrOIm1ObwqQecxF2XJja2VJzpbTOA== X-Received: by 2002:a9d:4e81:: with SMTP id v1mr4028717otk.18.1612566382223; Fri, 05 Feb 2021 15:06:22 -0800 (PST) X-Received: by 2002:a9d:4e81:: with SMTP id v1mr4028705otk.18.1612566381984; Fri, 05 Feb 2021 15:06:21 -0800 (PST) Received: from localhost ([2605:a601:ac0f:820:2b7:eb67:ff8d:8b15]) by smtp.gmail.com with ESMTPSA id m10sm2087472otp.19.2021.02.05.15.06.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 15:06:21 -0800 (PST) From: Seth Forshee To: Andrew Morton , Hugh Dickins Cc: Chris Down , Amir Goldstein , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-mm@kvack.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] tmpfs: Disallow CONFIG_TMPFS_INODE64 on s390 Date: Fri, 5 Feb 2021 17:06:20 -0600 Message-Id: <20210205230620.518245-1-seth.forshee@canonical.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This feature requires ino_t be 64-bits, which is true for every 64-bit architecture but s390, so prevent this option from being selected there. Fixes: ea3271f7196c ("tmpfs: support 64-bit inums per-sb") Cc: # v5.9+ Signed-off-by: Seth Forshee --- fs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/Kconfig b/fs/Kconfig index aa4c12282301..3347ec7bd837 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -203,7 +203,7 @@ config TMPFS_XATTR config TMPFS_INODE64 bool "Use 64-bit ino_t by default in tmpfs" - depends on TMPFS && 64BIT + depends on TMPFS && 64BIT && !S390 default n help tmpfs has historically used only inode numbers as wide as an unsigned -- 2.29.2