fusefs: disable posix_fallocate
fuse file systems have far too much variability for the standard posix_fallocate implementation to work. A future protocol revision (7.19) adds a FUSE_FALLOCATE operation, but we don't support that yet. Better to simply return EINVAL until then. Reported by: pjdfstest Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3fa127896b
commit
1c8a5f5e39
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/fuse2/; revision=347215
@ -168,6 +168,7 @@ struct vop_vector fuse_fifoops = {
|
||||
};
|
||||
|
||||
struct vop_vector fuse_vnops = {
|
||||
.vop_allocate = VOP_EINVAL,
|
||||
.vop_default = &default_vnodeops,
|
||||
.vop_access = fuse_vnop_access,
|
||||
.vop_advlock = fuse_vnop_advlock,
|
||||
|
Loading…
Reference in New Issue
Block a user