linux/fs/lockd
NeilBrown 4a3ae42dc3 [PATCH] knfsd: Correctly handle error condition from lockd_up
If lockd_up fails - what should we expect?  Do we have to later call
lockd_down?

Well the nfs client thinks "no", the nfs server thinks "yes".  lockd thinks
"yes".

The only answer that really makes sense is "no" !!

So:
  Make lockd_up only increment  nlmsvc_users on success.
  Make nfsd handle errors from lockd_up properly.
  Make sure lockd_up(0) never fails when lockd is running
    so that the 'reclaimer' call to lockd_up doesn't need to
    be error checked.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:18 -07:00
..
clntlock.c [PATCH] knfsd: Correctly handle error condition from lockd_up 2006-10-02 07:57:18 -07:00
clntproc.c [PATCH] fs: Removing useless casts 2006-09-27 08:26:10 -07:00
host.c [PATCH] fs: Conversions from kmalloc+memset to k(z|c)alloc 2006-09-27 08:26:10 -07:00
Makefile
mon.c LOCKD: Convert to use new rpc_create() API 2006-09-22 23:24:50 -04:00
svc4proc.c
svc.c [PATCH] knfsd: Correctly handle error condition from lockd_up 2006-10-02 07:57:18 -07:00
svclock.c
svcproc.c
svcshare.c
svcsubs.c [PATCH] fs: Conversions from kmalloc+memset to k(z|c)alloc 2006-09-27 08:26:10 -07:00
xdr4.c
xdr.c