summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-mkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/dir-mkdir.c')
-rw-r--r--libdiskfs/dir-mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c
index 6d7f458d..7de5d1b7 100644
--- a/libdiskfs/dir-mkdir.c
+++ b/libdiskfs/dir-mkdir.c
@@ -55,7 +55,7 @@ diskfs_S_dir_mkdir (struct protid *dircred,
mode &= ~(S_ISPARE | S_IFMT);
mode |= S_IFDIR;
- error = diskfs_create_and_link (dnp, name, mode, &np, dircred, ds);
+ error = diskfs_create_node (dnp, name, mode, &np, dircred, ds);
if (!error)
diskfs_nput (np);