From b26aae9eed282aed2ce3c11106398857cd7548a1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 14 Feb 1997 01:16:28 +0000 Subject: (diskfs_S_dir_mkdir): Don't pass depth args to diskfs_lookup. --- libdiskfs/dir-mkdir.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libdiskfs') 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) -- cgit v1.2.3