From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bruce Fields" Subject: write_ports delfd case Date: Mon, 19 Jul 2010 15:21:59 -0400 Message-ID: <20100719192158.GC9657@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-nfs@vger.kernel.org To: Chuck Lever , Neil Brown Return-path: Received: from fieldses.org ([174.143.236.118]:34813 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966345Ab0GSTWj (ORCPT ); Mon, 19 Jul 2010 15:22:39 -0400 Sender: linux-nfs-owner@vger.kernel.org List-ID: Does anyone know what __write_ports_delfd() is meant to do? The block comment above write_ports claims it handles writes of the form "-", which makes no sense (the file table of the writer has nothing to do with anything). It's called only when the character after the "-" is a digit, but the names it matches against (generated by svc_one_sock_name()) start with "ipv4" or "ipv6". I guess we should just rip out that case entirely? Or maybe I'm missing something. --b.