Loading fs/nfsd/vfs.c +3 −2 Original line number Diff line number Diff line Loading @@ -830,9 +830,10 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, flags = O_WRONLY|O_LARGEFILE; } *filp = dentry_open(&path, flags, current_cred()); if (IS_ERR(*filp)) if (IS_ERR(*filp)) { host_err = PTR_ERR(*filp); else { *filp = NULL; } else { host_err = ima_file_check(*filp, may_flags); if (may_flags & NFSD_MAY_64BIT_COOKIE) Loading Loading
fs/nfsd/vfs.c +3 −2 Original line number Diff line number Diff line Loading @@ -830,9 +830,10 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, flags = O_WRONLY|O_LARGEFILE; } *filp = dentry_open(&path, flags, current_cred()); if (IS_ERR(*filp)) if (IS_ERR(*filp)) { host_err = PTR_ERR(*filp); else { *filp = NULL; } else { host_err = ima_file_check(*filp, may_flags); if (may_flags & NFSD_MAY_64BIT_COOKIE) Loading