diff --git a/module/os/linux/spl/spl-taskq.c b/module/os/linux/spl/spl-taskq.c index abf4dca58..84497359c 100644 --- a/module/os/linux/spl/spl-taskq.c +++ b/module/os/linux/spl/spl-taskq.c @@ -1048,7 +1048,6 @@ taskq_create(const char *name, int threads_arg, pri_t pri, ASSERT(name != NULL); ASSERT(minalloc >= 0); - ASSERT(maxalloc <= INT_MAX); ASSERT(!(flags & (TASKQ_CPR_SAFE))); /* Unsupported */ /* Scale the number of threads using nthreads as a percentage */ diff --git a/module/os/linux/zfs/zfs_file_os.c b/module/os/linux/zfs/zfs_file_os.c index da8042840..bc753614b 100644 --- a/module/os/linux/zfs/zfs_file_os.c +++ b/module/os/linux/zfs/zfs_file_os.c @@ -246,7 +246,7 @@ zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) { loff_t rc; - if (*offp < 0 || *offp > MAXOFFSET_T) + if (*offp < 0) return (EINVAL); rc = vfs_llseek(fp, *offp, whence);