From: Darrick J. Wong <djwong@xxxxxxxxxx> Allow this flag when we're checking flags in op_fallocate. Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> --- misc/fuse2fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c index 4d4eaedfc33e1f..74bbe661a417e5 100644 --- a/misc/fuse2fs.c +++ b/misc/fuse2fs.c @@ -3820,7 +3820,7 @@ static int op_fallocate(const char *path EXT2FS_ATTR((unused)), int mode, int ret; /* Catch unknown flags */ - if (mode & ~(FL_PUNCH_HOLE_FLAG | FL_KEEP_SIZE_FLAG)) + if (mode & ~(FL_ZERO_RANGE_FLAG | FL_PUNCH_HOLE_FLAG | FL_KEEP_SIZE_FLAG)) return -EOPNOTSUPP; pthread_mutex_lock(&ff->bfl);