[PATCH 4.14 52/88] cifs: Fix wrong return value checking when GETFLAGS