[PATCH 5.17 149/225] gfs2: Make sure not to return short direct writes