Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5517095imm; Tue, 18 Sep 2018 10:44:19 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb3O6MwOYRBF2DR/jagN3pmPLTTBLZiUrOX+gd8XVJyNDj/d0TCndjXCWB4f2X3seRRg9YF X-Received: by 2002:a63:6c04:: with SMTP id h4-v6mr16051819pgc.290.1537292659597; Tue, 18 Sep 2018 10:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537292659; cv=none; d=google.com; s=arc-20160816; b=uknup9BOObgCdY1w+aZ0O+1G7RlzHlxd46F2C7t1qzIpbtEuTWxGTaoBfQnsVkIrnU tP/ALCgFNl+KChkhrQP1OHWKtPfJFa3p8ovjNJdtsudBDnacf/2F68gdvsn/kIa4VfYF iV4vfKY4Dui68gmZw574G7zeastDIK3uL8LtdsddgUqcPqn02ywFsCyZGh6Tj7Dq7ESy bKe9tBoin4ZnDJHKE2BVwiIIzCP2G2M/7U/WDtLcjtLz1m3v2UX4i0Wtpl8kASh25Mrh wbiSXrcjVbFR2DtDztgRv5iRU7HjOlEB2dWTHmFfL2O4SzSDvqj0HByk7S/7Rxa60ePq 7oMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization; bh=NONK2Uo1kHCLI4YffFyzmvJH/vkixT/i28t+U/PFlAQ=; b=HW2ZgQWXiXVKLts1n/6Yk4b0JxPKAxorTCPu+shzjWFdOgAA4pr2p3QRKhabb4iStN j/GKrjKuhRyKb72oCIukL/6rYRiVGZ8SHgrqAo2fda+nrcX+4RhpDSDldS/tyzDZvEzp o/yIDWjSkNweASb8BxqUMwdmB6jkFtI2ixEWAu9X5tXZqrJmhLswRqpjXtCEfyL9ZAEt TdvJYXaoQAWvrgFbpRkTphPyajMdrt4mbnslnXSNQTXintJ4SZ7o5N22NP00Tx1SoAtZ 6dUsp/GeqF1bd6QWSWgaL8JaMNAAtowfSJV0hhg5v96v/UBev5gCUy1Uqzk+elzSujXs kUSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11-v6si18748952pgf.558.2018.09.18.10.44.03; Tue, 18 Sep 2018 10:44:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730517AbeIRXRR (ORCPT + 99 others); Tue, 18 Sep 2018 19:17:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50194 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729037AbeIRXRR (ORCPT ); Tue, 18 Sep 2018 19:17:17 -0400 Received: from smtp.corp.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0B3C33002C75; Tue, 18 Sep 2018 17:43:38 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-123-84.rdu2.redhat.com [10.10.123.84]) by smtp.corp.redhat.com (Postfix) with ESMTP id 658E889234; Tue, 18 Sep 2018 17:43:36 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <27019.1537288742@warthog.procyon.org.uk> References: <27019.1537288742@warthog.procyon.org.uk> <20180918090722.GA463@jagdpanzerIV> <20180911220743.GA13208@roeck-us.net> <20180911174641.GA15149@roeck-us.net> <153313703562.13253.5766498657900728120.stgit@warthog.procyon.org.uk> <153313714181.13253.304098108512966976.stgit@warthog.procyon.org.uk> <27113.1536702746@warthog.procyon.org.uk> <32382.1536707855@warthog.procyon.org.uk> <20180911235403.GA10107@roeck-us.net> To: Sergey Senozhatsky Cc: dhowells@redhat.com, Guenter Roeck , viro@zeniv.linux.org.uk, torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt Subject: Re: [PATCH 14/33] vfs: Implement a filesystem superblock creation/configuration context [ver #11] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20626.1537292615.1@warthog.procyon.org.uk> Date: Tue, 18 Sep 2018 18:43:35 +0100 Message-ID: <20627.1537292615@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Tue, 18 Sep 2018 17:43:38 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Actually, I can do better and allow ->init_fs_context() to return -EOPNOTSUPP in the FS_CONTEXT_FOR_UMOUNT and FS_CONTEXT_FOR_EMERGENCY_RO cases if the filesystem has no interest in them. David