Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp302453ybt; Wed, 17 Jun 2020 01:03:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTGrQQt8jBl/dIO/cdftYpUChpCPbPeUlWa21FKziASKvi6BBRp1J3CVuDEKeUegQwLhgb X-Received: by 2002:a17:907:40c7:: with SMTP id nv7mr6252046ejb.316.1592381036239; Wed, 17 Jun 2020 01:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592381036; cv=none; d=google.com; s=arc-20160816; b=D5D7ZmUCKJqCC56vJetA6odRLkd5YwvHASqSP/atPIULUeCnxrhTZIQY5D7nkx+OSE YAdazwClqxOxHsS/b+STocyII1w24+6vlxM3AfblupQPm2OSshS1xWFkJbkOBm81V5YB Vsd+CnFWzjzU2iXvZsmqWdAMnqGPXAN5MTF8Rl4jnWImVFGmiUGK48QvSe/eMV3/Gi5S 7AvIaFBvIlGiVsrxAkfR0uwG7uDRd9wU6i2ai59odQCescfvHmVqwkG5I0KcdTZF7Hr+ kN4mp5WJOcmjM9ppWs03cvBoB8LpNNdlrPw/F2TaB7DUNTr3efc/xy4z9V+W+MyZkMJu goWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=NMpqp1Po11wPc+OD0tz0uL8QRWn/5SXktIpHxMSID1Q=; b=DSjAijbPBAxUVlEuTGoorYyn9TiJMtJk/Zqk3hvziXzypaBpUg+A5cS32VmDwpI1My 2A8T9aNZNw+N3bx8QVorUkd9MhPSDYC/Ii2HrETPMv/IsXF1eoPJtvf9g90jw0R+75/b N0i0i4uee/ast7NUfjNEtC2Udd0S+biAQ2pXz8njajtncbjm7J4RdBQSs2WGDd1GVIHP yCKtPtYEpD8W3rNdN7SJJyrOCL/RGPrq3k34H53VO2gN0IR+6dBz+j7hTh2WuJEDYxzO NWk+JYf8hl7QfLkfpyzod8vKdxT5xsS5wPvNmU4VtgFkzeDdkNaAtPv2iwBAxwauOaMI 2DZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PiQQyFj3; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d3si14708477edl.218.2020.06.17.01.03.32; Wed, 17 Jun 2020 01:03:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PiQQyFj3; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726326AbgFQIDX (ORCPT + 99 others); Wed, 17 Jun 2020 04:03:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbgFQIDW (ORCPT ); Wed, 17 Jun 2020 04:03:22 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05402C061573; Wed, 17 Jun 2020 01:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=NMpqp1Po11wPc+OD0tz0uL8QRWn/5SXktIpHxMSID1Q=; b=PiQQyFj3/Lid+T0g4v7zSlPeeG BiAy34rtFGnQNTqvQKyD+Lwnd7ZZJqzKMizujBEmc75hqT6AYHc0KIyoNmEVuSboIXk7d6RG1Vvrn 5JWnElGaUxkljCpb9fri77myQ4TknPnTwWDi5ucSm7wYBQBHJl27K+6+fH1vkPNLT39APX465hWcQ U2/C72zjJB1yHdumJhntT+6Q9ByxRwdfqFPluwwt//ICEENj5GW+yeRrLS/KoHUPNHEy8Gy59RiK9 2yHnYKI+tW7N2tC0bwEcx/EKBwiZn9i5g9jCIWxTnp9ec1z6My25Yyl+BSv+J2O7D14YzFULPuHkS 4YfEuhHg==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlT2Q-00022O-E7; Wed, 17 Jun 2020 08:03:14 +0000 Date: Wed, 17 Jun 2020 01:03:14 -0700 From: Christoph Hellwig To: Masayoshi Mizuma Cc: Theodore Ts'o , Andreas Dilger , Alexander Viro , Masayoshi Mizuma , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] fs: i_version mntopt gets visible through /proc/mounts Message-ID: <20200617080314.GA7147@infradead.org> References: <20200616202123.12656-1-msys.mizuma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200616202123.12656-1-msys.mizuma@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Jun 16, 2020 at 04:21:23PM -0400, Masayoshi Mizuma wrote: > From: Masayoshi Mizuma > > /proc/mounts doesn't show 'i_version' even if iversion > mount option is set to XFS. > > iversion mount option is a VFS option, not ext4 specific option. > Move the handler to show_sb_opts() so that /proc/mounts can show > 'i_version' on not only ext4 but also the other filesystem. SB_I_VERSION is a kernel internal flag. XFS doesn't have an i_version mount option.