Date: Sun, 25 Sep 2005 17:12:41 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ips ips.c ips.h ips_commands.c ips_disk.c ips_ioctl.c Message-ID: <200509251712.j8PHCfWo004125@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scottl 2005-09-25 17:12:41 UTC FreeBSD src repository Modified files: sys/dev/ips ips.c ips.h ips_commands.c ips_disk.c ips_ioctl.c Log: Overhaul error handling in the IPS driver. Don't use a magic value for driver-induced errors, instead be better about propagating error status upwards. Add more error definitions, courtesy of the linux driver. Fix a command leak in the ioctl handler. Re-arrange some of the command handlers to localize error handling. MFC After: 3 days Revision Changes Path 1.18 +3 -3 src/sys/dev/ips/ips.c 1.15 +29 -3 src/sys/dev/ips/ips.h 1.13 +61 -61 src/sys/dev/ips/ips_commands.c 1.9 +3 -3 src/sys/dev/ips/ips_disk.c 1.7 +6 -3 src/sys/dev/ips/ips_ioctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509251712.j8PHCfWo004125>