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)
commit05ba1f0823004e947748523782e9c2f07f3bff0d
tree3ec44b97f0725b0b9045152c31802a66aa62aec2
parente2690695ce5085677b84fbf2e38d2ed57cad39cd
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