[PATCH 5.10 138/152] umount(2): move the flag validity checks first