From 93a8e35ff8def529f41b82a13440f2e9b46d0dbd Mon Sep 17 00:00:00 2001 From: neilbrown Date: Tue, 21 Mar 2000 00:46:14 +0000 Subject: Change to using variable length file handles, for better v3 support, and introduce getfh_size to use new (2.3.99) syscall for getting file handles with length --- tools/Makefile | 3 ++- tools/nlmtest/nlmtest.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/Makefile b/tools/Makefile index 6378850..0324877 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -2,6 +2,7 @@ # Various debugging/testing tools # -SUBDIRS = rpcgen getiversion getkversion nlmtest rpcdebug locktest +SUBDIRS = rpcgen getiversion getkversion rpcdebug locktest +# nlmtest doesn't work include $(TOP)rules.mk diff --git a/tools/nlmtest/nlmtest.c b/tools/nlmtest/nlmtest.c index 77dd889..d0acc47 100644 --- a/tools/nlmtest/nlmtest.c +++ b/tools/nlmtest/nlmtest.c @@ -234,7 +234,7 @@ makefileh(struct netobj *fh) { static struct knfs_fh f; struct stat stb; - +#error this needs updating if it is still wanted memset(&f, 0, sizeof(f)); #if 0 if (stat(NLMTEST_DIR, &stb) < 0) { -- cgit