[PATCH 4.4 46/70] CIFS: fix wrapping bugs in num_entries()