]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: Fixed handling of lockd fail when adding nfsd socket
authorNeilBrown <neilb@suse.de>
Wed, 4 Oct 2006 09:15:45 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:15 +0000 (07:55 -0700)
commit5680c44632053a6c9464bca43083f01776d318da
tree220f7bcb0168972bbc2ce804074f42b5470a1e15
parentcda9e0cd8a6b30ccc32edced066c378fbd87003d
[PATCH] knfsd: Fixed handling of lockd fail when adding nfsd socket

Arrgg..  We cannot 'lockd_up' before 'svc_addsock' as we don't know the
protocol yet....  So switch it around again and save the name of the created
sockets so that it can be closed if lock_up fails.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfsctl.c
net/sunrpc/svcsock.c