diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-27 09:05:19 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-27 09:05:19 +0000 |
commit | f869be5c723f74ca4c5c0d99a6ba4fcb9244126a (patch) | |
tree | 136593dab7ab3c0fb624d4feafbdd3bdb5f1ec90 /sys/compat | |
parent | a6baba06d1cf1f5e56ba23805d837db4b42c35da (diff) | |
download | FreeBSD-src-f869be5c723f74ca4c5c0d99a6ba4fcb9244126a.zip FreeBSD-src-f869be5c723f74ca4c5c0d99a6ba4fcb9244126a.tar.gz |
- Pass the ISOPEN flag to namei so filesystems will know we're about to
open them or otherwise access the data.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 85cd13b..4c6b53f 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -268,7 +268,7 @@ linux_uselib(struct thread *td, struct linux_uselib_args *args) * XXX: This code should make use of vn_open(), rather than doing * all this stuff itself. */ - NDINIT(&ni, LOOKUP, FOLLOW|LOCKLEAF, UIO_SYSSPACE, library, td); + NDINIT(&ni, LOOKUP, ISOPEN|FOLLOW|LOCKLEAF, UIO_SYSSPACE, library, td); error = namei(&ni); LFREEPATH(library); if (error) |