Commit 6effcab4 authored by Al Viro's avatar Al Viro

infiniband: don't bother with d_delete()

Dentries are never retained there; d_delete() + dput() is no
different from d_drop() + dput().
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 29dfeb0b
......@@ -493,7 +493,7 @@ static int remove_device_files(struct super_block *sb,
remove_file(dir, "flash");
inode_unlock(d_inode(dir));
ret = simple_rmdir(d_inode(root), dir);
d_delete(dir);
d_drop(dir);
dput(dir);
bail:
......
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