Readd zfs_holey() from OpenSolaris
authorMatthew Ahrens <mahrens@delphix.com>
Mon, 1 Jul 2013 16:24:43 +0000 (09:24 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Jul 2013 16:24:18 +0000 (09:24 -0700)
This patch restores the zfs_holey() function from OpenSolaris.
This was removed by commit 3558fd7 because it wasn't clear we
had a use for it in ZoL.  However, this functionality is a
prerequisite for adding SEEK_DATA/SEEK_HOLE support to the ZPL.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Issue #1384


No differences found