summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_getcwd.c2
-rw-r--r--sys/compat/linux/linux_misc.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c
index 44079b9..2773562 100644
--- a/sys/compat/linux/linux_getcwd.c
+++ b/sys/compat/linux/linux_getcwd.c
@@ -351,7 +351,7 @@ linux_getcwd_common (lvp, rvp, bpp, bufp, limit, flags, td)
/*
* step up if we're a covered vnode..
*/
- while (lvp->v_flag & VROOT) {
+ while (lvp->v_vflag & VV_ROOT) {
struct vnode *tvp;
if (lvp == rvp)
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 7eebf69..d6259bc 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -381,8 +381,9 @@ linux_uselib(struct thread *td, struct linux_uselib_args *args)
goto cleanup;
}
+ mp_fixme("Unlocked vflags access.");
/* prevent more writers */
- vp->v_flag |= VTEXT;
+ vp->v_vflag |= VV_TEXT;
/*
* Check if file_offset page aligned. Currently we cannot handle
OpenPOWER on IntegriCloud