aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2019-11-11 15:15:44 -0500
committerBrian Behlendorf <[email protected]>2019-11-11 12:15:44 -0800
commit035ebb365383dcca71c4c542093ea1ad2b8e1dea (patch)
tree54e0ca3b772d9be3e4fa7d5c13008c59e96b4b8e /module/os/linux
parent5a6ac4cffcd0255ca6f730bcf356e12891fd18af (diff)
Allow platform dependent path stripping for vdevs
On Linux the full path preceding devices is stripped when formatting vdev names. On FreeBSD we only want to strip "/dev/". Hide the implementation details of path stripping behind zfs_strip_path(). Make zfs_strip_partition_path() static in Linux implementation while here, since it is never used outside of the file it is defined in. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #9565
Diffstat (limited to 'module/os/linux')
0 files changed, 0 insertions, 0 deletions