|
@@ -1029,15 +1029,6 @@ static int ncp_rmdir(struct inode *dir, struct dentry *dentry)
|
|
|
DPRINTK("ncp_rmdir: removing %s/%s\n",
|
|
|
dentry->d_parent->d_name.name, dentry->d_name.name);
|
|
|
|
|
|
- /*
|
|
|
- * fail with EBUSY if there are still references to this
|
|
|
- * directory.
|
|
|
- */
|
|
|
- dentry_unhash(dentry);
|
|
|
- error = -EBUSY;
|
|
|
- if (!d_unhashed(dentry))
|
|
|
- goto out;
|
|
|
-
|
|
|
len = sizeof(__name);
|
|
|
error = ncp_io2vol(server, __name, &len, dentry->d_name.name,
|
|
|
dentry->d_name.len, !ncp_preserve_case(dir));
|