diff options
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, |