summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 5e007e8..cb2f1b4 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -681,7 +681,7 @@ vfs_domount(
return (error);
}
}
- error = vinvalbuf(vp, V_SAVE, td->td_ucred, td, 0, 0);
+ error = vinvalbuf(vp, V_SAVE, td, 0, 0);
if (error != 0) {
vput(vp);
return (error);
@@ -1105,7 +1105,7 @@ devfs_fixup(struct thread *td)
if (vp->v_type != VDIR) {
vput(vp);
}
- error = vinvalbuf(vp, V_SAVE, td->td_ucred, td, 0, 0);
+ error = vinvalbuf(vp, V_SAVE, td, 0, 0);
if (error) {
vput(vp);
}
OpenPOWER on IntegriCloud