diff options
| author | Michael I. Bushnell <mib@gnu.org> | 1996-03-25 18:08:16 +0000 |
|---|---|---|
| committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-25 18:08:16 +0000 |
| commit | 612d539a3edb9ab67412c0df900dd459da8525de (patch) | |
| tree | 497dee59e8c6809fa11d70b4b571ed8a7519a78d /ufs | |
| parent | 669a5d218f78fe4761528a0208915b53c97b8f28 (diff) | |
(diskfs_null_dirstat): New function.
Diffstat (limited to 'ufs')
| -rw-r--r-- | ufs/dir.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -81,6 +81,14 @@ struct dirstat size_t diskfs_dirstat_size = sizeof (struct dirstat); +/* The user must define this function. Initialize DS such that + diskfs_drop_dirstat will ignore it. */ +void +diskfs_null_dirstat (struct dirstat *ds) +{ + ds->type = LOOKUP; +} + static error_t dirscanblock (vm_address_t blockoff, struct node *dp, int idx, char *name, int namelen, enum lookup_type type, struct dirstat *ds, |
