IMA: don't propagate opened through the entire thing
[muen/linux.git] / fs / nfsd / vfs.c
index b0555d7d8200f237bd2feafa58bd5303494bd3b2..55a099e47ba2773e94e126285efc937391dee5d4 100644 (file)
@@ -763,7 +763,7 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type,
                goto out_nfserr;
        }
 
-       host_err = ima_file_check(file, may_flags, 0);
+       host_err = ima_file_check(file, may_flags);
        if (host_err) {
                fput(file);
                goto out_nfserr;