summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-06 08:37:48 +0000
committerMiles Bader <miles@gnu.org>1997-02-06 08:37:48 +0000
commit8c8724dfa19e4c508acbef9be612dd7673e1cbf4 (patch)
treec2d995df1d7908069c3c8947cff2fc7ed9103a1c
parent93b7de6961af6e68560537542ee3877d14caca27 (diff)
(diskfs_S_dir_rmdir):
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
-rw-r--r--libdiskfs/dir-rmdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-rmdir.c b/libdiskfs/dir-rmdir.c
index 9a07a319..a31658b4 100644
--- a/libdiskfs/dir-rmdir.c
+++ b/libdiskfs/dir-rmdir.c
@@ -1,5 +1,5 @@
/* libdsikfs implementation of fs.defs: dir_rmdir
- Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -38,7 +38,7 @@ diskfs_S_dir_rmdir (struct protid *dircred,
mutex_lock (&dnp->lock);
- error = diskfs_lookup (dnp, name, REMOVE, &np, ds, dircred);
+ error = diskfs_lookup (dnp, name, REMOVE, &np, ds, dircred, 0, 0);
if (error == EAGAIN)
error = ENOTEMPTY;
else if (np && !S_ISDIR (np->dn_stat.st_mode))