Kris Kennaway found that for '/' NFS mounts, the MPSAFE mount flag was
not being set, which means Giant would be acquired for these mounts.
This commit is contained in:
parent
b1b4282160
commit
64c3892747
@ -773,8 +773,9 @@ nfs_mount(struct mount *mp, struct thread *td)
|
||||
goto out;
|
||||
args.fh = nfh;
|
||||
error = mountnfs(&args, mp, nam, hst, &vp, td->td_ucred);
|
||||
mp->mnt_kern_flag |= MNTK_MPSAFE;
|
||||
out:
|
||||
if (!error)
|
||||
mp->mnt_kern_flag |= MNTK_MPSAFE;
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user