Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3341422imu; Mon, 14 Jan 2019 01:00:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ioZTCQa//U4jByqjiL2LjIJ5fTrJ/fHRpvxcN9XeyTvbmsyqFQH1enoApVi2+0B2asEpW X-Received: by 2002:a63:a064:: with SMTP id u36mr11951846pgn.145.1547456418175; Mon, 14 Jan 2019 01:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547456418; cv=none; d=google.com; s=arc-20160816; b=tgiIaWWRt01o5Gd1hJ1g8T7F3x+8E/3fFLLBsq10ZMHhHogqTczqUmdSPvZHv+EuG/ C7OmpFv4JE00OkUXaiHrxMaSwPBpeeVsjMpGYTPQVaSUHCo8WaIWCyaceJ0AnJTvWYP+ DFpFDeg9hO3en61NRHPubl1T152hVBc1WM8MBv87ZqPOauraxez/HBXUS248oGiNPMiU CNs08VC8DrMDg1BPAttGjphvDi7BJQA5Y+AxD3F0U3BA8P5yonAomEcLQkYxgOHmnm1v 4D6W6Nm3DBHQ+1TNCJljNmBsC6n+wPZF8WsKj5nLX8CtDH4Ka+GC1Uja7UnZO9N47bB6 XPtg== 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=ScyDIiT3OJsW8grrbs7NeoX+UZCivJ3ZZD20GCruv2k=; b=eoSwf6FRhuPGRfH3lVQz7PS3vzVvZPbac0ZyxDAtDceymNbY+9bE2q5MvdEKG2O2Da FthKL/tMKNgRJymP0PRthMAMi/w0V5Rp61F7X1+MauS5qdsYZ0hAVfJUVp0NbUFyueaL 7lzauiyw6ET5/fT464vcwrKmdeXw4ZSyK8MjRk1jYPXzFwQUz9pYyuAeY5E7RJD8ubC3 F7A5qKFS000YNC89QxjzhpOwyB1FsDv9/NpDCHr6PUxxYjpuWX+pyMSJ5IGjfGE1zJ5y bUAdNnNUHLQpSC5GqtoYFE8hwvV1nywCN3mn1ZxlfWgMl0DiSPfC0c/E3sPb3C7QzdON yT7Q== 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 193si19492262pfa.256.2019.01.14.01.00.02; Mon, 14 Jan 2019 01:00:18 -0800 (PST) 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 S1725837AbfANI6m (ORCPT + 99 others); Mon, 14 Jan 2019 03:58:42 -0500 Received: from mx2.suse.de ([195.135.220.15]:49996 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726092AbfANI6l (ORCPT ); Mon, 14 Jan 2019 03:58:41 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 40B2AAD73; Mon, 14 Jan 2019 08:58:40 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id E6C8F1E157A; Mon, 14 Jan 2019 09:58:39 +0100 (CET) Date: Mon, 14 Jan 2019 09:58:39 +0100 From: Jan Kara To: Souptick Joarder Cc: willy@infradead.org, zwisler@kernel.org, jack@suse.cz, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Williams Subject: Re: [PATCH] fs/dax: Convert to use vmf_error() Message-ID: <20190114085839.GA13316@quack2.suse.cz> References: <20190104192410.GA11084@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190104192410.GA11084@jordon-HP-15-Notebook-PC> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 05-01-19 00:54:11, Souptick Joarder wrote: > This code is converted to use vmf_error(). > > Signed-off-by: Souptick Joarder Dan, you are merging DAX patches these days. So probably you should add yourself to 'FILESYSTEM DIRECT ACCESS (DAX)' in MAINTAINERs. Or I can start picking patches for fsdax to my tree if you are too busy but I think your tree is easier as there are less chances for conflicts etc. In either case this patch looks OK to me so feel free to add Reviewed-by: Jan Kara Honza > --- > fs/dax.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/fs/dax.c b/fs/dax.c > index 48132ec..ed39161 100644 > --- a/fs/dax.c > +++ b/fs/dax.c > @@ -1220,9 +1220,7 @@ static vm_fault_t dax_fault_return(int error) > { > if (error == 0) > return VM_FAULT_NOPAGE; > - if (error == -ENOMEM) > - return VM_FAULT_OOM; > - return VM_FAULT_SIGBUS; > + return vmf_error(error); > } > > /* > -- > 1.9.1 > -- Jan Kara SUSE Labs, CR