Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4075378imu; Mon, 14 Jan 2019 14:32:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Y8VbRG5x4O5eZMRUsNvazersgAdoC3ZvcECDpiW+M7CI/ztpH03CFTdyrayhbWYc8RDrw X-Received: by 2002:a62:d448:: with SMTP id u8mr719080pfl.105.1547505153060; Mon, 14 Jan 2019 14:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547505153; cv=none; d=google.com; s=arc-20160816; b=WPh7RZIUa+l/VkOqf3keshwWfnfU7PbWlIH4HXTm3s+W6khFp8b26qKJFDa3y20CNw HJYFLESm7iEOgQBGCOg/m8dbd/MHMjcTvrOWCPcNdMIt04WPdsyg0JnNKWMRjQ7P/QCb rfMYH1UhHL+TNx124BDPMIgotKwT0hNRwU4XsLSy21Q1/pagHC3MeddGzTMwpu3GugTV 3kH5mbkx2SRF7ppwMuYgjbbRhR0+QstQ8MdPOJFxgvrbEupdui2d3bVkZN8+1k/B6ZbJ XdeMnb6qMgnz67MtVgFXu3RqS3BowkHs86Z3fdNIhKIqyqfLDWj9EMIL13bdFZidcs0r LcLg== 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:dkim-signature; bh=ZaiJGYIs1DiWgIq6qxEriZFnzxBXyzoJsIEPkYvzLaE=; b=MLYvKJ7Q+we5ZUSWU+qHNNVIxQglE2FrYtzgmlzD7BruKDrxrZ2lrJCTGADoaVm5AM lkEcFuKjaRjuxl/eOH4lDPwL6E5CLl+vA4GTvIeGdPx16JlBqlTKX3Q7d/M3ss5ZeNcQ 2e9Dz+me06oB0L/f6Lcqf3t1merhyNZPps3Wf3+e5t1anL8g0s9eNH75Bf74o4RRjRLb raJeoK8wIgIT96ifwKnlyhjn5VnCRaSIJKHoHPHKvR1r7eBmOw1lLWlKudiMDlpVNrb5 XorMwkZZzSgmMyExvnJHjFRfjJQ5gJsqpZdrWZoJ03ipqzPjcxphJvOaJ9ghFRbrsjV5 bfPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=dL5prS63; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i198si1530723pfe.289.2019.01.14.14.32.16; Mon, 14 Jan 2019 14:32:33 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=dL5prS63; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727170AbfANWa5 (ORCPT + 99 others); Mon, 14 Jan 2019 17:30:57 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:45311 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbfANWaz (ORCPT ); Mon, 14 Jan 2019 17:30:55 -0500 Received: by mail-ot1-f68.google.com with SMTP id 32so639611ota.12 for ; Mon, 14 Jan 2019 14:30:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZaiJGYIs1DiWgIq6qxEriZFnzxBXyzoJsIEPkYvzLaE=; b=dL5prS63eibNFwsyiDdlnyMFRbIiyxvzySuIBf3Bd06PpGJJFcyrByp7gn30i0aWy0 DUDgkWmTcLIYcSTCD7o+aCcOCaLgWbEY4pmFdLNcy97v7x50+PXEFTPJmPGihvOjxcTk PgIhmCXNZ35OgUfZmJwauaL3MKMXlDZsBJ4Fy66ad6mzgvoidFE4XWtBiePkb4ew8/4b QDZqeYexK6AQW9Ij9I40dQO6zPqlBp3VxBCErDTmBb/fomdnbM+hZjN6K9Rm7fcd7czw N0g3WjvJ8dO356bVxdZsvsYd7HZsjvPKW8lTg0ZSN0C2+NTiD8RL7tHf+wePATp5qwtH uu/w== 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=ZaiJGYIs1DiWgIq6qxEriZFnzxBXyzoJsIEPkYvzLaE=; b=sUV8N70QoucJT5BAOEj0RJp+hK3W+7droQ2gAdifdg0Sv6egPZcDFGdSx/K0R9BSvp G4LfPkRowLwlKwyNH+0XhTX9F/W6eypcSa0ntmmE+bdXCAh3Ov3h2YEx7HPdf7rcOLa4 S3aBLPzbJe9L8CeK4ELVFHtuEhpMlwfZeQmx0mzW8nS+XzkYJf28LTjJMtLPxKNyRdPb EC6GcOPb7J1WVW/0C1x7ozQAMxPoFhMouNM2psEZJjRxruc/zc4KNEkFLHRCdEERH4aw 8vR3cvTWHBt0xi5iNSvv77XrtfGoaXQBTFW4bBnIf0XXMvKF5jDOktmg63ForZcO2154 iOmw== X-Gm-Message-State: AJcUukc0l4AvNEBvgeqxdb3ksJnU455DOhNUcLRvwTKAFZ9KpilTMUeT +vLjS+AQkmgKAlDOnKMOvvsxTCVwdME7B/CEU0qh8Q== X-Received: by 2002:a9d:394:: with SMTP id f20mr457021otf.98.1547505055318; Mon, 14 Jan 2019 14:30:55 -0800 (PST) MIME-Version: 1.0 References: <20190104192410.GA11084@jordon-HP-15-Notebook-PC> <20190114085839.GA13316@quack2.suse.cz> In-Reply-To: <20190114085839.GA13316@quack2.suse.cz> From: Dan Williams Date: Mon, 14 Jan 2019 14:30:44 -0800 Message-ID: Subject: Re: [PATCH] fs/dax: Convert to use vmf_error() To: Jan Kara Cc: Souptick Joarder , Matthew Wilcox , Ross Zwisler , Al Viro , linux-fsdevel , Linux Kernel Mailing List 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, Jan 14, 2019 at 12:59 AM Jan Kara wrote: > > 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. Sounds good, I'll merge this and get MAINTAINERs fixed up. > 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