From: NeilBrown Date: Mon, 2 Oct 2006 09:17:51 +0000 (-0700) Subject: [PATCH] knfsd: Check return value of lockd_up in write_ports X-Git-Tag: v2.6.19-rc1~435 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dfb4210535303bb4c2e0ff1c4fdd4dfe9b93472;p=pandora-kernel.git [PATCH] knfsd: Check return value of lockd_up in write_ports We should be checking the return value of lockd_up when adding a new socket to nfsd. So move the lockd_up before the svc_addsock and check the return value. The move is because lockd_down is easy, but there is no easy way to remove a recently added socket. Cc: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed