From patchwork Thu Apr 1 22:48:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tucker X-Patchwork-Id: 90270 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o31MmoOa008379 for ; Thu, 1 Apr 2010 22:48:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757357Ab0DAWss (ORCPT ); Thu, 1 Apr 2010 18:48:48 -0400 Received: from smtp.opengridcomputing.com ([209.198.142.2]:60367 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755012Ab0DAWss (ORCPT ); Thu, 1 Apr 2010 18:48:48 -0400 Received: from unity.ogc.int (unity.ogc.int [10.10.0.214]) by smtp.opengridcomputing.com (Postfix) with ESMTP id 641867C7C1; Thu, 1 Apr 2010 17:48:47 -0500 (CDT) Message-ID: <4BB522CF.60503@opengridcomputing.com> Date: Thu, 01 Apr 2010 17:48:47 -0500 From: Tom Tucker User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: "J. Bruce Fields" , Chuck Lever CC: Linux NFS Mailing List , "linux-rdma@vger.kernel.org" Subject: [PATCH, RFC] nfsd: Make INET6 transport creation failure an informational message Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 01 Apr 2010 22:48:51 +0000 (UTC) diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 0f0e77f..934b624 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -1008,8 +1008,10 @@ static ssize_t __write_ports_addxprt(char *buf) err = svc_create_xprt(nfsd_serv, transport, PF_INET6, port, SVC_SOCK_ANONYMOUS); - if (err < 0 && err != -EAFNOSUPPORT) - goto out_close; + if (err < 0) + printk(KERN_INFO "nfsd: Error creating PF_INET6 listener " + "for transport '%s'\n", transport); + return 0; out_close: xprt = svc_find_xprt(nfsd_serv, transport, PF_INET, port);