Skip to content

Commit

Permalink
Export zfs_rlock symbols for users like lustre
Browse files Browse the repository at this point in the history
Signed-off-by: Chunwei Chen <[email protected]>
  • Loading branch information
Chunwei Chen committed May 13, 2016
1 parent aed2368 commit c8338c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions module/zfs/zfs_rlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,3 +626,10 @@ zfs_range_compare(const void *arg1, const void *arg2)
return (-1);
return (0);
}

#ifdef _KERNEL
EXPORT_SYMBOL(zfs_range_lock);
EXPORT_SYMBOL(zfs_range_unlock);
EXPORT_SYMBOL(zfs_range_reduce);
EXPORT_SYMBOL(zfs_range_compare);
#endif

0 comments on commit c8338c4

Please sign in to comment.