|
@@ -564,9 +564,10 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)
|
|
|
|
|
|
/* flags */
|
|
/* flags */
|
|
err = get_int(&mesg, &an_int);
|
|
err = get_int(&mesg, &an_int);
|
|
- if (err == -ENOENT)
|
|
|
|
|
|
+ if (err == -ENOENT) {
|
|
|
|
+ err = 0;
|
|
set_bit(CACHE_NEGATIVE, &exp.h.flags);
|
|
set_bit(CACHE_NEGATIVE, &exp.h.flags);
|
|
- else {
|
|
|
|
|
|
+ } else {
|
|
if (err || an_int < 0) goto out;
|
|
if (err || an_int < 0) goto out;
|
|
exp.ex_flags= an_int;
|
|
exp.ex_flags= an_int;
|
|
|
|
|