diff options
-rw-r--r-- | libdiskfs/dir-mkdir.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c index 0f1bf8e1..1f4ff0ea 100644 --- a/libdiskfs/dir-mkdir.c +++ b/libdiskfs/dir-mkdir.c @@ -38,9 +38,7 @@ diskfs_S_dir_mkdir (struct protid *dircred, mutex_lock (&dnp->lock); - error = diskfs_lookup (dnp, name, CREATE, 0, ds, dircred, - dircred->po->depth, 0); - + error = diskfs_lookup (dnp, name, CREATE, 0, ds, dircred); if (error == EAGAIN) error = EEXIST; if (!error) |