diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:04:20 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:04:20 +0000 |
commit | 8ea3ba7a19697c9b87270bc201c177f9893efd5a (patch) | |
tree | 6a56a652952e4c330b6669eacf5e43dae057189e /libdiskfs | |
parent | 3a047a3fccce1c4ecabd04b5963f9e04cc54a165 (diff) |
(diskfs_create_node): Add mode.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/node-create.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/node-create.c b/libdiskfs/node-create.c index 7b7b089f..e6179906 100644 --- a/libdiskfs/node-create.c +++ b/libdiskfs/node-create.c @@ -99,6 +99,9 @@ diskfs_create_node (struct node *dir, if (err) { + change_err: + np->dn_stat.st_mode = 0; + np->dn_stat.st_nlink = 0; if (name) diskfs_drop_dirstat (dir, ds); return err; |