Catch up with the renaming of the "union" filesystem to "unionfs".

Fixes a problem where directory entries could show up twice: once
on the top layer of the union stack, and once on the bottom layer.

Approved by:	re (rwatson)
This commit is contained in:
Tim J. Robbins 2003-05-16 02:15:07 +00:00
parent 8d542cb56d
commit 6e7988b9c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115047

View File

@ -118,7 +118,7 @@ __opendir2(name, flags)
if (_fstatfs(fd, &sfb) < 0)
goto fail;
unionstack = !strcmp(sfb.f_fstypename, "union")
unionstack = !strcmp(sfb.f_fstypename, "unionfs")
|| (sfb.f_flags & MNT_UNION);
} else {
unionstack = 0;