[PATCH 5.4 108/156] cifs: Fix wrong return value checking when GETFLAGS