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(-) -- 2.31.1