diff options
author | jeff <jeff@FreeBSD.org> | 2005-03-29 10:16:12 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-03-29 10:16:12 +0000 |
commit | bcbda3d7711e59c7e798039ab3be0daa4de9977a (patch) | |
tree | 5b6ef28c19842f3a63e49f0cbf6a62e96350a678 /sys/compat/linux/linux_getcwd.c | |
parent | 36bc306f6363f7990939e097a6d40939cd026fac (diff) | |
download | FreeBSD-src-bcbda3d7711e59c7e798039ab3be0daa4de9977a.zip FreeBSD-src-bcbda3d7711e59c7e798039ab3be0daa4de9977a.tar.gz |
- Initial cn_lkflags to LK_EXCLUSIVE.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/compat/linux/linux_getcwd.c')
-rw-r--r-- | sys/compat/linux/linux_getcwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c index efc719b..1dfe6b4 100644 --- a/sys/compat/linux/linux_getcwd.c +++ b/sys/compat/linux/linux_getcwd.c @@ -164,6 +164,7 @@ linux_getcwd_scandir(lvpp, uvpp, bpp, bufp, td) cn.cn_nameptr = ".."; cn.cn_namelen = 2; cn.cn_consume = 0; + cn.cn_lkflags = LK_EXCLUSIVE; /* * At this point, lvp is locked and will be unlocked by the lookup. |