From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FA0FC43219 for ; Wed, 1 May 2019 01:03:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5895720866 for ; Wed, 1 May 2019 01:03:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726181AbfEABDk (ORCPT ); Tue, 30 Apr 2019 21:03:40 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:54216 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbfEABDk (ORCPT ); Tue, 30 Apr 2019 21:03:40 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1hLdes-00038y-RE; Wed, 01 May 2019 01:03:39 +0000 Date: Wed, 1 May 2019 02:03:38 +0100 From: Al Viro To: Murphy Zhou Cc: linux-fsdevel@vger.kernel.org, David Howells Subject: Re: [PATCH resend] vfs: return EINVAL instead of ENOENT when missing source Message-ID: <20190501010338.GN23075@ZenIV.linux.org.uk> References: <20190501003535.23426-1-jencce.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190501003535.23426-1-jencce.kernel@gmail.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, May 01, 2019 at 08:35:35AM +0800, Murphy Zhou wrote: > From: Xiong Zhou > > mount(2) with a NULL source device would return ENOENT instead of EINVAL > after this commit: See ee948837d7fa in vfs.git#fixes...