- Initial cn_lkflags to LK_EXCLUSIVE.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-03-29 10:16:12 +00:00
parent d6919865fa
commit 9f3d9acd26

View File

@ -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.