Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5377522imm; Tue, 18 Sep 2018 08:36:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYPjjXQWQ6uE3Pm8TLZTh/7fkB1CohmszsgYtnjiuytj7A+5yGU/ZsR7m+BrxXXXmpyYOB8 X-Received: by 2002:a17:902:4d46:: with SMTP id o6-v6mr2388116plh.59.1537284963735; Tue, 18 Sep 2018 08:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537284963; cv=none; d=google.com; s=arc-20160816; b=OXfDeYDRc58LIkd0KSBJUyB86jlUsp/EJa9ZRVtJnzvyz1+oM3K/99Rg3g7ugVVVv+ hJMRafm5agKqNfKZZB2XtKRvXW6/NEMrzgiGvuHvylh8tKNLS++nDBQr0uutzq+nCwro aWHuqy2N8Ay/ZUDuhmAoHlCLZs2XG1q5FrWiPfyBtk/j7z4FwcOtfV3yJx9MKH4iWjKJ AHljiBpQH1CbyU4RDMprmLoDcS0s19Iyw8DXJsYtt0/TXbJN2A2s20DgIs9nSjCxVyQp 6GuzAMb8xWa1z5tbe4uZVOeapPw7W/QyNTxrE293hgQICT0mjgEZKYaa77UDUu9X9Ggd 4XAQ== 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=rXNbgXsHp72Ujum4kfCh5+gsoLYK/ubAvWUxmWw5F1U=; b=rhUNeFzQA79Ba3lcuiCMDOEsMchz3rzPhrsJLCbnHFUGvnKr+5ypYCytayyzfV4ksH D4LcbMgcExAp6ChTsPuAfNwbONEgLsetWA6JzHros1VnZXfnLbAOubtpR1PKIj19jaaT xuIShuL9FDOqOACDC6faIwL7xB6iNX9AbfXjykEREyTlshup5Oo/w+fzCi0+MyR3Xbjx gzLEBz08P7B75n9pNp7A0VxT5MNdy7EVQ4s6BugPUHy4xyZKNH+6EycHf5YW5vqdukrT c1sdpEPD/1qSoFPYB8L7Ba5SHL3jd3NOTu1AtJNx4xiFO6v0bcKlnK6bgl2vCJlUshBT PSEA== 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 93-v6si19578478plf.113.2018.09.18.08.35.47; Tue, 18 Sep 2018 08:36:03 -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 S1730055AbeIRVHs (ORCPT + 99 others); Tue, 18 Sep 2018 17:07:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54568 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729947AbeIRVHr (ORCPT ); Tue, 18 Sep 2018 17:07:47 -0400 Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 77C2D30833B1; Tue, 18 Sep 2018 15:34:42 +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 E62E830912F4; Tue, 18 Sep 2018 15:34:39 +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: <20180918090722.GA463@jagdpanzerIV> References: <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: <23042.1537284879.1@warthog.procyon.org.uk> Date: Tue, 18 Sep 2018 16:34:39 +0100 Message-ID: <23043.1537284879@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Tue, 18 Sep 2018 15:34:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sergey Senozhatsky wrote: > static void do_emergency_remount_callback(struct super_block *sb) > { > struct fs_context fc = { > + .ops = &legacy_fs_context_ops, > .purpose = FS_CONTEXT_FOR_EMERGENCY_RO, > .fs_type = sb->s_type, > .root = sb->s_root, Actually, we do need to call ->init_fs_context() or legacy_init_fs_context() to set the ops pointer. David