[PATCH 5.18 824/879] ksmbd: fix outstanding credits related bugs