Stitching together can be done in one place, there's no need to do this in every add_*_context function. This supersedes the patchet in https://www.spinics.net/lists/linux-cifs/msg28087.html. Volker Lendecke (3): cifs: Simplify SMB2_open_init() cifs: Simplify SMB2_open_init() cifs: Simplify SMB2_open_init() fs/cifs/smb2pdu.c | 106 +++++++++++----------------------------------- 1 file changed, 25 insertions(+), 81 deletions(-) -- 2.30.2