Fix incompatible pointer type warning
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 19 Aug 2011 21:49:49 +0000 (14:49 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 19 Aug 2011 22:16:30 +0000 (15:16 -0700)
commit95d9fd028b9a27294a1b807915de17877563bd6d
treea8d03a14ec01119de58d3416fa8d864d3e863cf9
parentb740d602bdeca757180a7098be28701a7cde7fbd
Fix incompatible pointer type warning

This warning was accidentally introduced by commit
f3ab88d6461dec46dea240763843f66300facfab which updated the
.readpages() implementation.  The fix is to simply cast
the helper function to the appropriate type when passed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/zpl_file.c