summaryrefslogtreecommitdiffstats
path: root/include/sys/zfs_ioctl.h
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-16 18:43:52 -0700
committerBrian Behlendorf <[email protected]>2019-10-16 18:43:52 -0700
commit08f530c6996a41c1050a11fc5b02b31a6b68fe45 (patch)
tree562b0632edee2a6353e486f2b4da62ccf1e23954 /include/sys/zfs_ioctl.h
parent0e939e434a254224907cc379a0e7039984221500 (diff)
Make zfsdev_getminor signature cross platform
Only pass the file descriptor to make zfsdev_get_miror() portable. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9466
Diffstat (limited to 'include/sys/zfs_ioctl.h')
-rw-r--r--include/sys/zfs_ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zfs_ioctl.h b/include/sys/zfs_ioctl.h
index daa1560f3..48788477a 100644
--- a/include/sys/zfs_ioctl.h
+++ b/include/sys/zfs_ioctl.h
@@ -546,7 +546,7 @@ typedef struct zfsdev_state {
} zfsdev_state_t;
extern void *zfsdev_get_state(minor_t minor, enum zfsdev_state_type which);
-extern int zfsdev_getminor(struct file *filp, minor_t *minorp);
+extern int zfsdev_getminor(int fd, minor_t *minorp);
extern minor_t zfsdev_minor_alloc(void);
extern uint_t zfs_fsyncer_key;