zfs: no need to check that size of zfs_cmd_t is not greater than IOCPARM_MAX

Nowadays we do not pass zfs_cmd_t directly through the ioctl interface.
Instead a small zfs_iocparm_t object is passed and the command is
explicitly copied in and out.  So, the check has become irrelevant.

MFC after:	3 weeks
Sponsored by:	Panzura
This commit is contained in:
avg 2018-01-21 11:19:18 +00:00
parent fac155169f
commit ed9760cef2

View File

@ -204,7 +204,6 @@
#include "lua.h"
#include "lauxlib.h"
CTASSERT(sizeof(zfs_cmd_t) < IOCPARM_MAX);
static struct cdev *zfsdev;
extern void zfs_init(void);