[PATCH 6.6 007/102] smb3: more minor cleanups for session handling routines