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 (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-10-21 18:20 UTC by Gleb Kurtsou
Modified: 2023-05-11 14:32 UTC (History)
1 user (show)

See Also:


Attachments
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 freebsd_triage 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
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:34:09 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>