[PATCH 6.0 187/314] cifs: Fix wrong return value checking when GETFLAGS