GFS2: Fix permissions checking for setflags ioctl()