diff options
| author | Wim Van Sebroeck <wim@iguana.be> | 2007-05-11 19:03:13 +0000 | 
|---|---|---|
| committer | Wim Van Sebroeck <wim@iguana.be> | 2007-05-11 19:03:13 +0000 | 
| commit | 5c34202b8bf942da411b6599668a76b07449bbfd (patch) | |
| tree | 5719c361321eaddc8e4f1b0c8a7994f0e9a6fdd3 /fs/nfsd/export.c | |
| parent | 0d4804b31f91cfbcff6d62af0bc09a893a1c8ae0 (diff) | |
| parent | 1f8a6b658a943b4f04a1fc7b3a420360202c86cd (diff) | |
Merge /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'fs/nfsd/export.c')
| -rw-r--r-- | fs/nfsd/export.c | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 6f24768272a..79bd03b8bbf 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c @@ -469,6 +469,13 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)  	nd.dentry = NULL;  	exp.ex_path = NULL; +	/* fs locations */ +	exp.ex_fslocs.locations = NULL; +	exp.ex_fslocs.locations_count = 0; +	exp.ex_fslocs.migrated = 0; + +	exp.ex_uuid = NULL; +  	if (mesg[mlen-1] != '\n')  		return -EINVAL;  	mesg[mlen-1] = 0; @@ -509,13 +516,6 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)  	if (exp.h.expiry_time == 0)  		goto out; -	/* fs locations */ -	exp.ex_fslocs.locations = NULL; -	exp.ex_fslocs.locations_count = 0; -	exp.ex_fslocs.migrated = 0; - -	exp.ex_uuid = NULL; -  	/* flags */  	err = get_int(&mesg, &an_int);  	if (err == -ENOENT)  | 
