From bc04a6650d0edd057694b5364e2980b64bdcc802 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 14 Feb 1997 01:20:19 +0000 Subject: (diskfs_S_dir_unlink): Don't pass depth args to diskfs_lookup. --- libdiskfs/dir-unlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/dir-unlink.c') diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c index 13dd8f4b..7a6ce5da 100644 --- a/libdiskfs/dir-unlink.c +++ b/libdiskfs/dir-unlink.c @@ -39,7 +39,7 @@ diskfs_S_dir_unlink (struct protid *dircred, mutex_lock (&dnp->lock); - error = diskfs_lookup (dnp, name, REMOVE, &np, ds, dircred, 0, 0); + error = diskfs_lookup (dnp, name, REMOVE, &np, ds, dircred); if (error == EAGAIN) error = EISDIR; if (error) -- cgit v1.2.3