[PATCH 5.15 102/181] cifs: Fix wrong return value checking when GETFLAGS