Bug 151629 - [fs] [patch] Skip empty directory entries during name lookup (unionfs, dirent_exists())
Summary: [fs] [patch] Skip empty directory entries during name lookup (unionfs, dirent...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2010-10-21 18:20 UTC by Gleb Kurtsou
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:

file.txt (1.27 KB, text/plain)
2010-10-21 18:20 UTC, Gleb Kurtsou
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Kurtsou freebsd_committer 2010-10-21 18:20:11 UTC
At least UFS and EXT2 use "empty" directory entries, i.e. dirent with zero d_fileno, as a placeholder for removed entries.

Such entries are skipped by libc and elsewhere in the kernel.

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-10-23 08:56:02 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:06 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped