]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: add FALLOCATE operation
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Mon, 23 Apr 2012 01:45:24 +0000 (18:45 -0700)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 25 Apr 2012 10:25:05 +0000 (12:25 +0200)
commit39faa40026dd3f35bb0f4916059a79242312cd98
tree3ec44b97f0725b0b9045152c31802a66aa62aec2
parentf28c95a373fb7fa7f3207ba9833bfd5dbffc9567
fuse: add FALLOCATE operation

fallocate filesystem operation preallocates media space for the given file.
If fallocate returns success then any subsequent write to the given range
never fails with 'not enough space' error.

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/file.c
include/linux/fuse.h