diff options
author | Ryan Moeller <[email protected]> | 2019-11-11 15:15:44 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-11-11 12:15:44 -0800 |
commit | 035ebb365383dcca71c4c542093ea1ad2b8e1dea (patch) | |
tree | 54e0ca3b772d9be3e4fa7d5c13008c59e96b4b8e /config/kernel-fst-mount.m4 | |
parent | 5a6ac4cffcd0255ca6f730bcf356e12891fd18af (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 'config/kernel-fst-mount.m4')
0 files changed, 0 insertions, 0 deletions