Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1664508imd; Thu, 1 Nov 2018 21:07:49 -0700 (PDT) X-Google-Smtp-Source: AJdET5f0uZlOB4s3qofkDFS3F9pKcYC1NIEWk3D/Cuuw7pNOZ+SYBWBl27mmkqwlg1mI3b5kaq9G X-Received: by 2002:a62:9702:: with SMTP id n2-v6mr10315920pfe.222.1541131669064; Thu, 01 Nov 2018 21:07:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541131669; cv=none; d=google.com; s=arc-20160816; b=uyoINsYSFwcBL5YQn7MJJS2vR86WogSMdCHnVrCc5glg89ysU0I4YONxRXC1BRBusO 71kshNUiDL2oUf18Tf88MVRRF0Cs4+vbg9LZUaltx2H9hz5zCR6pR1CQw+n0MNJ6Dj3i A5sOd7qwEC+qtluLeH7eCHjhoKmhuDnCmf82OH5ZXHT2ZDqGGBgZed9KHRWk4J6HAUSW H/b8hgzxHzVvfZyn8BCP6d9k5QcHh8Ve5h356UYJAtLLsXd9FBBSYNqw7kQYuTgUDBIn jzds5ugEzjia0UnrVTPXClAopvn939uAURY7/hq+eFycd1uUxBNQbW8KD9ljjLfG2HRI W0Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4GMQM7digsFrRtT+PARiGrcDmUGOu/AASoMppqDwJcg=; b=QmaDSZjvGEnBLZFnTG/mj56qBtasd8XWyh4KFgEZpm6YVyndHfg6K8dGTNdwvyTNFN 6jrK++szmBJeJ3urcBRxL/IpdeH3Z/z7VcR1FLjARpNfh72RcUZUHBF98bUXkvMQsupy YTxEDmlDefeiKJd1t3bPDSs1QXWcOaJRH9j0jsFk66SrUv5/E7T9q02cU4Usvguv+Uoz vAf3AQWj+yufJ8K/XVyEQi3qVqlYnjmEkCuNym1CTGzISGJY+vLH4UemRZqAcyQkGcKD kPFRBedkkD8heLn7zyV386DsfNTnXsb6B2OohG30IM0aFAnhOvhP3kT6oD9XzAQq2g3V BjfQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z188-v6si20595839pgb.75.2018.11.01.21.07.33; Thu, 01 Nov 2018 21:07:49 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727465AbeKBNMv (ORCPT + 99 others); Fri, 2 Nov 2018 09:12:51 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:60824 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726339AbeKBNMv (ORCPT ); Fri, 2 Nov 2018 09:12:51 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIQjd-0000rH-CS; Fri, 02 Nov 2018 04:07:01 +0000 Date: Fri, 2 Nov 2018 04:07:01 +0000 From: Al Viro To: Gao Xiang Cc: Linus Torvalds , swhiteho@redhat.com, john.johansen@canonical.com, alan.christopher.jenkins@gmail.com, ebiederm@redhat.com, linux-fsdevel@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [git pull] mount API series Message-ID: <20181102040701.GX32577@ZenIV.linux.org.uk> References: <20181031053355.GQ32577@ZenIV.linux.org.uk> <28156.1541092687@warthog.procyon.org.uk> <3549.1541116763@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3549.1541116763@warthog.procyon.org.uk> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 01, 2018 at 11:59:23PM +0000, David Howells wrote: > (*) mount-api-core. These are the internal-only patches that add the > fs_context, the legacy wrapper and the security hooks and make certain > filesystems make use of it. FWIW, while rereading that series I'd spotted something very odd in erofs. It's orthogonal to everything else, but just to make sure it doesn't get lost: * sbi->dev_name thing in erofs is used only for debugging printks, basically. Just use sb->s_id[] and be done with that. * dump struct erofs_mount_private - you don't need dev_name in your erofs_fill_super(). Just use mount_bdev() in usual fashion. * what the hell are you doing with ->s_root??? Why would you possibly want it hashed and what kind of dcache lookup could find it? That d_rehash() looks deeply confused; what are you trying to do there?