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: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Родитель
29dfeb0b6a
Коммит
6effcab4da
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче