diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2002-08-04 10:29:36 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2002-08-04 10:29:36 +0000 |
| commit | e6e370a7fe930e04cec38bcc2e06be127ed7ee02 (patch) | |
| tree | e889f56910bf98cbee3be239655a9e4bbb928b2e /sys/compat/linux | |
| parent | f75bb0aa25847511ed461bccb4d3fc247ab6b1d5 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/linux_getcwd.c | 2 | ||||
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c index 44079b9336912..2773562baf6eb 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 7eebf69518cb8..d6259bc868f03 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 |
