diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2022-08-05 17:47:38 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-08-05 19:24:06 +0300 |
commit | 70f08f914a37a0881a7f17068e03ff5a5024822d (patch) | |
tree | 148a02579daf21489bd6155dc9b7d0ed32fddbb1 /fs/cifs/smb2ops.c | |
parent | fb157ed226d225b6a149ed63a7831f6bdde7b911 (diff) | |
download | linux-70f08f914a37a0881a7f17068e03ff5a5024822d.tar.xz |
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>
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r-- | fs/cifs/smb2ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index 82dd2e973753..c0039dc0715a 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -5099,7 +5099,7 @@ static void smb2_decrypt_offload(struct work_struct *work) spin_unlock(&dw->server->srv_lock); } } - cifs_mid_q_entry_release(mid); + release_mid(mid); } free_pages: |