]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: remove useless DeleteMidQEntry()
authorEnzo Matsumiya <ematsumiya@suse.de>
Fri, 5 Aug 2022 14:47:38 +0000 (11:47 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 5 Aug 2022 16:24:06 +0000 (11:24 -0500)
commit95125c0ad010d9f2a47695226839e0cebf173328
tree148a02579daf21489bd6155dc9b7d0ed32fddbb1
parent0f3d55b3055c44e09e5bb848c8054adc8f963048
cifs: remove useless DeleteMidQEntry()

DeleteMidQEntry() was just a proxy for cifs_mid_q_entry_release().

- remove DeleteMidQEntry()
- rename cifs_mid_q_entry_release() to release_mid()
- rename kref_put() callback _cifs_mid_q_entry_release to __release_mid
- rename AllocMidQEntry() to alloc_mid()
- rename cifs_delete_mid() to delete_mid()

Update callers to use new names.

Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2transport.c
fs/cifs/transport.c