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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 29A13C433E0 for ; Wed, 17 Jun 2020 08:03:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE3972073E for ; Wed, 17 Jun 2020 08:03:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="PiQQyFj3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726341AbgFQIDX (ORCPT ); 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-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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.