summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_getcwd.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-06-18 18:09:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-06-18 18:09:44 +0000
commit14a75551ab8adecfa8504f866b3039a514eba589 (patch)
tree97bad1a2e1e4f025760e484fea8d1a14281e6c34 /sys/compat/linux/linux_getcwd.c
parent3082708bb92c9b5a6ab11c44aaa464f490ba02f3 (diff)
Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@
Diffstat (limited to 'sys/compat/linux/linux_getcwd.c')
-rw-r--r--sys/compat/linux/linux_getcwd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c
index 8038ca2c9cf..ef81e15392a 100644
--- a/sys/compat/linux/linux_getcwd.c
+++ b/sys/compat/linux/linux_getcwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_getcwd.c,v 1.6 2005/05/26 00:33:45 pedro Exp $ */
+/* $OpenBSD: linux_getcwd.c,v 1.7 2005/06/18 18:09:42 millert Exp $ */
/* $NetBSD: vfs_getcwd.c,v 1.3.2.3 1999/07/11 10:24:09 sommerfeld Exp $ */
/*-
@@ -250,8 +250,7 @@ unionread:
* but getting the locking games for that
* right would be heinous.
*/
- if ((dp->d_type != DT_WHT) &&
- (dp->d_fileno == fileno)) {
+ if (dp->d_fileno == fileno) {
char *bp = *bpp;
bp -= dp->d_namlen;