diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-mkdir.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c index eee04b62..9648eafe 100644 --- a/libdiskfs/dir-mkdir.c +++ b/libdiskfs/dir-mkdir.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs: dir_mkdir - Copyright (C) 1992, 1993, 1994 Free Software Foundation + Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -57,6 +57,12 @@ diskfs_S_dir_mkdir (struct protid *dircred, error = diskfs_create_node (dnp, name, mode, &np, dircred, ds); + if (diskfs_synchronous) + { + diskfs_update_file (dnp, 1); + diskfs_update_file (np, 1); + } + if (!error) diskfs_nput (np); |