[PATCH 6.18 143/430] ksmbd: skip lock-range check on equal size to avoid size==0 underflow