patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / fs / nfsd / nfs4proc.c
index d8765a0..d54c85a 100644 (file)
@@ -389,7 +389,7 @@ nfsd4_create(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_cre
                break;
 
        default:
-               BUG();
+               status = nfserr_badtype;
        }
 
        if (!status) {