]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfsd/export.c
Input: i8042 - export i8042_command()
[linux-2.6-omap-h63xx.git] / fs / nfsd / export.c
index 2d295dda4c1d63c774970f7baa76403658ccae4f..cba899a3494ed56d5e9d9342a617d841ca2bfdd6 100644 (file)
@@ -564,9 +564,10 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)
 
        /* flags */
        err = get_int(&mesg, &an_int);
-       if (err == -ENOENT)
+       if (err == -ENOENT) {
+               err = 0;
                set_bit(CACHE_NEGATIVE, &exp.h.flags);
-       else {
+       else {
                if (err || an_int < 0) goto out;        
                exp.ex_flags= an_int;