Untangling ima mess, part 2: deal with counters
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / nfsd / vfs.c
index a293f0273263fb18dd1837a2a906769b8a9b71d6..c9942b39654e56d68896617ebdb4249e783c86da 100644 (file)
@@ -744,8 +744,6 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
                            flags, current_cred());
        if (IS_ERR(*filp))
                host_err = PTR_ERR(*filp);
-       else
-               ima_counts_get(*filp);
 out_nfserr:
        err = nfserrno(host_err);
 out: