- Initial cn_lkflags to LK_EXCLUSIVE.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
jeff 2005-03-29 10:16:12 +00:00
parent 36bc306f63
commit bcbda3d771

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.