]> err.no Git - linux-2.6/commit
[PATCH] NFS: Fix NFSv4 callback regression
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 20 Oct 2006 06:28:40 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:26:39 +0000 (10:26 -0700)
commit13bbc06af8a5f65df0f888b442e557c617cadba7
tree64129c447795744f44754989d85a138dffdf7fdc
parent7d9ac06f26fe8d477c813405f1a8c7c90eecef2d
[PATCH] NFS: Fix NFSv4 callback regression

The change in semantics for nfs_find_client() introduced by David breaks the
NFSv4 callback channel.

Also, replace another completely broken BUG_ON() in nfs_find_client().  In
initialised clients, clp->cl_cons_state == 0, and callers of that function
should in any case never want to see clients that are uninitialised.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/client.c