From ac795f14309fbc10b9d5fcc05d622b40decb6df7 Mon Sep 17 00:00:00 2001 From: Frank Filz Date: Fri, 30 Jun 2006 01:56:11 -0700 Subject: [PATCH] --- yaml --- r: 31413 b: refs/heads/master c: 4bdff8c0950afa6a3f2efec6cd15159d97fac1e6 h: refs/heads/master i: 31411: a3d05ecbd6d59ec88c6ed2dbad51411bb131e7fd v: v3 --- [refs] | 2 +- trunk/fs/nfsd/export.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ef26255abfec..3438a7ae4cbb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a56f39375a7bd183149c18286389e4a58ac9bc95 +refs/heads/master: 4bdff8c0950afa6a3f2efec6cd15159d97fac1e6 diff --git a/trunk/fs/nfsd/export.c b/trunk/fs/nfsd/export.c index 3eec30000f3f..01bc68c628ad 100644 --- a/trunk/fs/nfsd/export.c +++ b/trunk/fs/nfsd/export.c @@ -126,7 +126,7 @@ static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) if (*ep) goto out; dprintk("found fsidtype %d\n", fsidtype); - if (fsidtype > 2) + if (key_len(fsidtype)==0) /* invalid type */ goto out; if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) goto out;