diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-27 16:14:37 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-03 09:30:55 -0400 |
commit | 6effcab4da7b6a579699c2d5b9c06eb2f1fb3610 (patch) | |
tree | 8f561c0a8c0f0d9041a8b5c154e2f7c8986ff0d1 /drivers/infiniband/hw/qib/qib_fs.c | |
parent | 29dfeb0b6ae6fcfbc78040bab166215020974f65 (diff) | |
download | blackbird-op-linux-6effcab4da7b6a579699c2d5b9c06eb2f1fb3610.tar.gz blackbird-op-linux-6effcab4da7b6a579699c2d5b9c06eb2f1fb3610.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_fs.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_fs.c index 41a569558a15..e336d778e076 100644 --- a/drivers/infiniband/hw/qib/qib_fs.c +++ b/drivers/infiniband/hw/qib/qib_fs.c @@ -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: |