Commit cb36441a authored by Dave Kleikamp's avatar Dave Kleikamp

Remove d_delete call from jfs_rmdir and jfs_unlink

jfs_rmdir and jfs_unlink have always called d_delete, but it hasn't
caused a problem until 2.5.28.  The call is an artifact of the 2.2
kernel, which had gone unnoticed in 2.4 and 2.5.
parent ff42067b
......@@ -399,8 +399,6 @@ int jfs_rmdir(struct inode *dip, struct dentry *dentry)
IWRITE_UNLOCK(dip);
d_delete(dentry);
out2:
free_UCSname(&dname);
......@@ -543,8 +541,6 @@ int jfs_unlink(struct inode *dip, struct dentry *dentry)
IWRITE_UNLOCK(dip);
d_delete(dentry);
out1:
free_UCSname(&dname);
out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment