Return-Path: From: David Howells In-Reply-To: <20171018024342.4328-1-mjg59@google.com> References: <20171018024342.4328-1-mjg59@google.com> To: Matthew Garrett Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org, Alexander Viro , stable@vger.kernel.org Subject: Re: [PATCH] Fix mounting with MS_I_VERSION MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4913.1508359321.1@warthog.procyon.org.uk> Date: Wed, 18 Oct 2017 21:42:01 +0100 Message-ID: <4914.1508359321@warthog.procyon.org.uk> Sender: stable-owner@vger.kernel.org List-ID: Matthew Garrett wrote: > commit e462ec50cb5fa ("VFS: Differentiate mount flags (MS_*) from > internal superblock flags") reworked the flags that are passed through > do mount, and in the process dropped MS_I_VERSION. Confusingly, things > continue working if the i_version mount option is used because that's > directly passed to ext4 which interprets it, while iversion is turned > into MS_I_VERSION and dropped on the floor. This breaks IMA and EVM and > my heart. This patch isn't sufficient. It also needs to change the filesystems' use of it to be SB_I_VERSION. David