summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:20:04 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:20:04 +0000
commit5573044c20f0676bf765c6ec8bf89d14659884cd (patch)
treec3dbf5c460fa775e6c2bacad319858496aa38ebf
parent781fa8a428e3cab751d2ed2426d38d061fdc0ecf (diff)
(diskfs_S_dir_rmdir):
Don't pass depth args to diskfs_lookup.
-rw-r--r--libdiskfs/dir-rmdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-rmdir.c b/libdiskfs/dir-rmdir.c
index a31658b4..a5274d71 100644
--- a/libdiskfs/dir-rmdir.c
+++ b/libdiskfs/dir-rmdir.c
@@ -38,7 +38,7 @@ diskfs_S_dir_rmdir (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 = ENOTEMPTY;
else if (np && !S_ISDIR (np->dn_stat.st_mode))