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 | 35920d4e5c76de4bf3e456b6e86863530ee6dea3 (patch) | |
tree | 8c501917287177c937c758b0b76e2fd08ad1b4ae /ufs | |
parent | 94b751907a4d811655c63416d5b04282d40c0bd6 (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, |