Skip to content
Snippets Groups Projects
Commit 82946c53 authored by Wang Di's avatar Wang Di
Browse files

Update smfs: minor fixs in smfs_unlink

parent 070152d8
No related branches found
No related tags found
No related merge requests found
......@@ -202,9 +202,6 @@ static int smfs_unlink(struct inode * dir,
cache_dentry = d_alloc(&parent, &dentry->d_name);
d_add(cache_dentry, cache_inode);
pre_smfs_inode(dentry->d_inode, cache_dentry->d_inode);
pre_smfs_inode(dir, cache_dir);
if (cache_dir->i_op->unlink)
rc = cache_dir->i_op->unlink(cache_dir, cache_dentry);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment