]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd: remove unused listener-removal interfaces
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 15 Aug 2012 22:07:43 +0000 (18:07 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Sep 2012 14:55:19 +0000 (10:55 -0400)
commiteccf50c129686de11358093839749c83f6cae5db
tree890b06b8dfb886e2326c101d6b8be70b7c330d96
parentcf9182e90b2af04245ac4fae497fe73fc71285b4
nfsd: remove unused listener-removal interfaces

You can use nfsd/portlist to give nfsd additional sockets to listen on.
In theory you can also remove listening sockets this way.  But nobody's
ever done that as far as I can tell.

Also this was partially broken in 2.6.25, by
a217813f9067b785241cb7f31956e51d2071703a "knfsd: Support adding
transports by writing portlist file".

(Note that we decide whether to take the "delfd" case by checking for a
digit--but what's actually expected in that case is something made by
svc_one_sock_name(), which won't begin with a digit.)

So, let's just rip out this stuff.

Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsctl.c
include/linux/sunrpc/svcsock.h
net/sunrpc/svcsock.c