mbox series

[-next,0/2] add release callback to cifs_writedata

Message ID 20220823130637.1164764-1-zhangxiaoxu5@huawei.com (mailing list archive)
Headers show
Series add release callback to cifs_writedata | expand

Message

Zhang Xiaoxu Aug. 23, 2022, 1:06 p.m. UTC
The release function of struct cifs_writedata is determined when its
allocated, so add it to the struct and remove the extra parameter about
async_writev

Zhang Xiaoxu (2):
  cifs: Add release function to cifs_writedata
  cifs: remove the release parameter form async_writev

 fs/cifs/cifsglob.h  |  4 ++--
 fs/cifs/cifsproto.h |  9 +++----
 fs/cifs/cifssmb.c   |  5 ++--
 fs/cifs/file.c      | 58 +++++++++++++++++++++++----------------------
 fs/cifs/smb2pdu.c   |  5 ++--
 fs/cifs/smb2proto.h |  3 +--
 6 files changed, 42 insertions(+), 42 deletions(-)

Comments

Paulo Alcantara Aug. 23, 2022, 5:57 p.m. UTC | #1
Zhang Xiaoxu <zhangxiaoxu5@huawei.com> writes:

> The release function of struct cifs_writedata is determined when its
> allocated, so add it to the struct and remove the extra parameter about
> async_writev
>
> Zhang Xiaoxu (2):
>   cifs: Add release function to cifs_writedata
>   cifs: remove the release parameter form async_writev
>
>  fs/cifs/cifsglob.h  |  4 ++--
>  fs/cifs/cifsproto.h |  9 +++----
>  fs/cifs/cifssmb.c   |  5 ++--
>  fs/cifs/file.c      | 58 +++++++++++++++++++++++----------------------
>  fs/cifs/smb2pdu.c   |  5 ++--
>  fs/cifs/smb2proto.h |  3 +--
>  6 files changed, 42 insertions(+), 42 deletions(-)

Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>