Date: Tue, 13 Aug 2019 19:29:34 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r350999 - stable/11/sys/dev/nvd Message-ID: <201908131929.x7DJTY2t054407@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Aug 13 19:29:33 2019 New Revision: 350999 URL: https://svnweb.freebsd.org/changeset/base/350999 Log: MFC r350961: Missed part of r350523. Modified: stable/11/sys/dev/nvd/nvd.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/nvd/nvd.c ============================================================================== --- stable/11/sys/dev/nvd/nvd.c Tue Aug 13 19:27:23 2019 (r350998) +++ stable/11/sys/dev/nvd/nvd.c Tue Aug 13 19:29:33 2019 (r350999) @@ -275,17 +275,12 @@ nvd_gonecb(struct disk *dp) } static int -nvd_ioctl(struct disk *ndisk, u_long cmd, void *data, int fflag, +nvd_ioctl(struct disk *dp, u_long cmd, void *data, int fflag, struct thread *td) { - int ret = 0; + struct nvd_disk *ndisk = dp->d_drv1; - switch (cmd) { - default: - ret = EIO; - } - - return (ret); + return (nvme_ns_ioctl_process(ndisk->ns, cmd, data, fflag, td)); } static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908131929.x7DJTY2t054407>