Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2284492ybd; Mon, 24 Jun 2019 03:55:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdzH/4He5U+NmVAPAUZv7XNsE2r1v82Gzx9yiC06n+0OU0VhFbW3EveXtE1cDQxCa6A8QQ X-Received: by 2002:a17:902:760a:: with SMTP id k10mr127566295pll.83.1561373741989; Mon, 24 Jun 2019 03:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561373741; cv=none; d=google.com; s=arc-20160816; b=UZcgkb/SBQ8m/IpQTLUjCVAs9xa+9whiTOkz1/IBj3eUpGhppdz4PzfQIyVuanYgDo 3HMG31BN/s1zGO+Lkg1Sjs7sPPnfGk0Im4fMcIyYiH3vsJUYTRJOZSpZhoJ/62Ty3FPj AS/sj+zy83rjLF/2HIHCvjGakA+SJyFphr+INb6WsEfS8DuxC811ZpF9Q00vv6ycZZO5 lkTr5vMFZba4+eQhgN56OQemESiTY9491DSaNmSjWDTKm5ws1dgnfr6eGzZNYx2ZUZH5 OpApcpI22wMQ5dKHGXf32CP3taYBLBsBnQ5hBDdpTrQjnHCbAN9xTjx47DFHNNbwVN2x fKsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=ihyVj9AIhaK8HPGk1OnxZEKSWZ3zvaM69CEDWZY4270=; b=C+ICEWmTwFFLUGR/SNWmHcZH729FrkataSMIzr3EICKUIRVZ4Tp308r2aLhBG1W8qU n0uCEZmzDzakR5Hu0esqerNjCs/xkmjzycLZguUr6ZwZNreKktBTXIUJPgk9BeWrcvAH oMdwUewnX70d2GN/SMJWFdq6GogniNw4Z1Segg/k0G9n6AQXx5Arb/W1BuSbDQgatBjK SODutd/izEfSZL1wrJt+0sTUK7KdGTOCrPXWVhubzvt6KRjcsFaYRTRTIA/yOVjaQYGW 6cGFbN6Fy5PQodcf+U2uMT1NpzM4Z3BNm50xFPg33H4yzCa1iWrenKOpLREAEbnxqOul Zcbg== 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 h12si7297204pfn.171.2019.06.24.03.55.26; Mon, 24 Jun 2019 03:55:41 -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 S1729524AbfFXKxs (ORCPT + 99 others); Mon, 24 Jun 2019 06:53:48 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:39133 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728616AbfFXKxq (ORCPT ); Mon, 24 Jun 2019 06:53:46 -0400 Received: by mail-io1-f66.google.com with SMTP id r185so1009779iod.6 for ; Mon, 24 Jun 2019 03:53:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ihyVj9AIhaK8HPGk1OnxZEKSWZ3zvaM69CEDWZY4270=; b=e3M0XAzB8Hf0XA5MfqZlD/LEJxwKQx6pCXuZyJHQB7Ms0sQ0eQgbMutRXEjxVXA7cT iePB7gJ/bJEayf2GYP1RvcN0hErO9pu+gq2qArXhnewxIL0jq1APfIWGvv5oBohVW5U+ eJ7Zm8R+VKqvb6Rfq4//1EdLekBjjm5SJZza9kQBWvMli47NHxxctcZX8Vt4wGyNFGjy z3/7Kf2bxGfX4T1ZDB5itP6AFCECF/qgrDHwovlG8kRNtugTRvBIMRQBFdX4o5MYmK2k x2DtnrbCkMw5yeeRjFlXLyBNnf9HFvAxvMvW0XS+yjphKscCqjVRoYpWZNNtJ1J1BYxQ dtFA== X-Gm-Message-State: APjAAAWdAk4ZXtc79edicsCw8JJfGcciohQM2PtPa1b2gXWpVMK0hmv/ OfN4aDvAn9cd+ISdNTMGnzBDMCaX14jrYB1+XoD8LQ== X-Received: by 2002:a6b:f711:: with SMTP id k17mr1753892iog.273.1561373625285; Mon, 24 Jun 2019 03:53:45 -0700 (PDT) MIME-Version: 1.0 References: <20190619123019.30032-1-mszeredi@redhat.com> <20190619123019.30032-5-mszeredi@redhat.com> <1ea8ec52ce19499f021510b5c9e38be8d8ebe38f.camel@themaw.net> <30205.1561372589@warthog.procyon.org.uk> In-Reply-To: From: Miklos Szeredi Date: Mon, 24 Jun 2019 12:53:34 +0200 Message-ID: Subject: Re: [PATCH 05/13] vfs: don't parse "silent" option To: David Howells Cc: Ian Kent , Al Viro , Linux API , linux-fsdevel , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 24, 2019 at 12:44 PM Miklos Szeredi wrote: > > On Mon, Jun 24, 2019 at 12:36 PM David Howells wrote: > > > > Miklos Szeredi wrote: > > > > > What I'm saying is that with a new interface the rules need not follow > > > the rules of the old interface, because at the start no one is using > > > the new interface, so no chance of breaking anything. > > > > Er. No. That's not true, since the old interface comes through the new one. > > No, old interface sets SB_* directly from arg 4 of mount(2) and not > via parsing arg 5. See also 9p mess up of "posixacl" handling *on the old interface* due to exactly because the internal API doesn't differentiate between options coming from the old interface and ones coming from the new. So you are right that there's breakage, but it's due to the fact that common code parses anything, and not because it doesn't. Thanks, Miklos