From patchwork Tue Nov 17 11:52:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 7636601 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 009DE9F1D3 for ; Tue, 17 Nov 2015 11:55:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D495204EA for ; Tue, 17 Nov 2015 11:55:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 63B72204E2 for ; Tue, 17 Nov 2015 11:55:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753718AbbKQLyo (ORCPT ); Tue, 17 Nov 2015 06:54:44 -0500 Received: from mail-qk0-f179.google.com ([209.85.220.179]:35852 "EHLO mail-qk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752146AbbKQLxo (ORCPT ); Tue, 17 Nov 2015 06:53:44 -0500 Received: by qkda6 with SMTP id a6so1676611qkd.3 for ; Tue, 17 Nov 2015 03:53:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poochiereds_net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=G7vxDAxfOuNTU0WTFZN4XKtZcZnIZMj08/pLrWO0c4Y=; b=bqbKzIlEVbGFYUrKxF0SBz60HTJvkyyy6ibkKqCWfKB7GBJ5ONSZ5f/w0E3uj7nBQx VtC31I0R8TxQ4ahPtrV8Jwz4ElizlPLB3nN/MMnDiq7gncAphf5PWecL34Vl7Z6krgEO VLYvWYC+g77ATd9JjOfhk19h0ho/xsl5D2C1WXXDSsEWdLkqSS78T8UUc654OhGHR126 HSbxQ6Ndi6dq2sK8AGiAFVYSJoydpKeWHr9/m57xG0EDDlbZ05yE0d435GhL9EM1ckcH pHBBqAh+gN3k5/2NI8Wyf3bN/I/tR/V5yEzPH7mIdu0WMgAHHB+LnP7nwzjyL7Gg4xSw c+tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=G7vxDAxfOuNTU0WTFZN4XKtZcZnIZMj08/pLrWO0c4Y=; b=QDeQUzakv7dDDVA8zDWMyo6Qah8AwCsCN6jxa3z6JAoMIq7iLjulqfN1ZdPBKwc79y +0TeRPQlQbMtx7Dcrw2nNqIdUuSMK74bjT7JJsfAUBqmjK2BKuT7s4rZAKExVQOecOtQ euhbpvrRCCqudIElz9cd9/if0hSHl6ZpqxiF2PliY3e0nOrunEc2jmpKtOXH9ZE7hgMH xDmwOq7vAbA1H3ewNvbqm454XGU+QLDYV2GtiIBsgtoyyYa8azTwBPGUXXoDTUXiBu/l 3kOlNUZ9YXumDE6j8hwxVv4yFx7S6xu5WEPNUwg8/oOgxrnPazI+OCJxuwyFTvPtsXDH RbtA== X-Gm-Message-State: ALoCoQldJEnEuityXr8j/6D7jygMhkdEdRRj0EiCAlIlrGC8zAgrJOvavObL83Hz7BVdkHnKRk/8 X-Received: by 10.55.73.216 with SMTP id w207mr41423823qka.90.1447761223638; Tue, 17 Nov 2015 03:53:43 -0800 (PST) Received: from tlielax.poochiereds.net ([2606:a000:1125:4075::d5a]) by smtp.googlemail.com with ESMTPSA id w10sm1583910qhc.16.2015.11.17.03.53.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Nov 2015 03:53:42 -0800 (PST) From: Jeff Layton X-Google-Original-From: Jeff Layton To: bfields@fieldses.org, trond.myklebust@primarydata.com Cc: linux-nfs@vger.kernel.org, Eric Paris , Alexander Viro , linux-fsdevel@vger.kernel.org Subject: [PATCH v1 25/38] nfsd: add errno mapping for EREMOTEIO Date: Tue, 17 Nov 2015 06:52:47 -0500 Message-Id: <1447761180-4250-26-git-send-email-jeff.layton@primarydata.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1447761180-4250-1-git-send-email-jeff.layton@primarydata.com> References: <1447761180-4250-1-git-send-email-jeff.layton@primarydata.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ...map to NFSERR_IO. Signed-off-by: Jeff Layton --- fs/nfsd/nfsproc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index 9893095cbee1..5a82d20a50b4 100644 --- a/fs/nfsd/nfsproc.c +++ b/fs/nfsd/nfsproc.c @@ -794,6 +794,7 @@ nfserrno (int errno) { nfserr_toosmall, -ETOOSMALL }, { nfserr_serverfault, -ESERVERFAULT }, { nfserr_serverfault, -ENFILE }, + { nfserr_io, -EREMOTEIO }, }; int i;