Help with btrfs_zero_range function

From: Nick Krause <hidden>
Date: 2014-08-04 23:09:02

Hey Guys,
I am wondering how to convert btrfs_find_first_hole and
btrfs_fill_holes in order to support zero range for btrfs in order to
support fallocate zero range. I am pasting my code so far and please
let me known if there is something else I am missing.
The function is called btrfs_zero_range in the file I am attaching.
Regards Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.c
Type: text/x-csrc
Size: 77480 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140804/bec9cba0/attachment-0001.bin 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help