opnsense-src/sys
Simon L. B. Nielsen 274ede62a8 In g_dev_strategy(), when failing an IO request with EINVAL due to
offset or request size which is not a multiple of the sector size, make
sure that the bio is set to indicate that no data has actually been
transferred.

The result of this is that the file offset is no longer incremented for
these requests.  The fact that the file offset was incremented broke
fdisk(8)'s probing of sector size for non-512 byte sector sizes.

Reviewed by:	phk, cperciva
Submitted by:	mdodd
MFC after:	2 weeks
2006-06-18 22:01:15 +00:00
..
amd64 Remove COMPAT_43 from GENERIC (and other kernel configs). For amd64 there's 2006-06-15 19:58:53 +00:00
arm comment out twi for now: no iicbus in KB920X: it breaks booting 2006-06-17 23:34:59 +00:00
boot Don't descend into ${MACHINE} on the arm platforms. 2006-06-18 17:44:40 +00:00
bsm Merge OpenBSM 1.0 alpha 6 version of audit_record.h to src/sys: 2006-06-05 13:00:52 +00:00
cam Add PIM_SEQSCAN for HBA misc flags and code that understands 2006-06-05 22:22:14 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat Forcefully turn off GPROF in this file if it is enabled as GPROF's 2006-06-12 20:35:59 +00:00
conf Remove the insistance on having a device.hints. This was a seat belt 2006-06-18 17:48:45 +00:00
contrib Fix pfsync w/o carp compilation. 2006-06-16 10:25:06 +00:00
crypto Fix gratuitous compiler warning. 2006-06-08 17:40:02 +00:00
ddb Never zero-out db_last_symtab. Whan backtraces are done 2006-06-16 16:17:52 +00:00
dev Add support for the Aceeca Mez1000 RDA. 2006-06-18 17:55:29 +00:00
doc Add a disclaimer regarding public/internal functions to every subsystem for 2006-05-28 15:25:18 +00:00
fs Upon further review, DES prefers this change over that in revision 1.13 2006-06-05 16:41:27 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom In g_dev_strategy(), when failing an IO request with EINVAL due to 2006-06-18 22:01:15 +00:00
gnu Implement vnode operations for setting and removing extended attributes. 2006-06-11 03:32:50 +00:00
i4b Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
i386 Fix style while I'm here. 2006-06-18 12:13:49 +00:00
ia64 Remove COMPAT_43 from GENERIC (and other kernel configs). For amd64 there's 2006-06-15 19:58:53 +00:00
isa Make the ISAPNP code optional and only enable it on i386 and pc98 (used 2006-06-12 21:07:13 +00:00
isofs/cd9660 Remove calls to vfs_export() for exporting a filesystem for NFS mounting 2006-05-26 00:32:21 +00:00
kern When retrieving SO_ERROR via getsockopt(), hold the socket lock around 2006-06-18 19:02:49 +00:00
libkern First pass at removing Alpha kernel support. 2006-05-11 22:25:28 +00:00
modules Unconditionally enable ppc(4) and puc(4). 2006-06-18 05:05:46 +00:00
net Since we are doing some bpf(4) clean up, change a couple of function prototypes 2006-06-15 15:39:12 +00:00
net80211 Use kern_kldload() and kern_kldunload() to load and unload modules when 2006-06-13 21:36:23 +00:00
netatalk Update global copyright statement for netatalk, as I claim copyright 2006-06-08 22:13:52 +00:00
netatm Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netgraph Use kern_kldload() and kern_kldunload() to load and unload modules when 2006-06-13 21:36:23 +00:00
netinet Remove T/TCP RFC1644 Connection Count comparison macros. They are no longer 2006-06-18 14:24:12 +00:00
netinet6 Fix spurious warnings from neighbor discovery when working with IPv6 over 2006-06-08 00:31:17 +00:00
netipsec Change '#if INET' and '#if INET6' to '#ifdef INET' and '#ifdef INET6'. 2006-06-04 19:32:32 +00:00
netipx Make this compile without INVARIANTS. 2006-04-11 23:15:47 +00:00
netkey In raw and raw-derived socket types, maintain and enforce invariant that 2006-04-01 15:55:44 +00:00
netnatm style(9) treatment following fixups. 2006-04-23 16:33:56 +00:00
netncp
netsmb Retire NETSMBCRYPTO as a kernel option and make its functionality 2006-03-05 22:52:17 +00:00
nfs
nfs4client While reviewing NFS client for another PR, noticed this omission in the 2006-05-24 15:56:36 +00:00
nfsclient Kris Kennaway found that for '/' NFS mounts, the MPSAFE mount flag was 2006-05-30 20:32:44 +00:00
nfsserver Temporary workaround to prevent leak of Giant from nfsd when calling 2006-06-05 14:48:02 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 Remove COMPAT_43 from GENERIC (and other kernel configs). For amd64 there's 2006-06-15 19:58:53 +00:00
pccard
pci Move SiS 760 to where it belongs. 2006-05-30 18:41:26 +00:00
posix4 Add scheduler API sched_relinquish(), the API is used to implement 2006-06-15 06:37:39 +00:00
powerpc Prevent 'mutex not owned' panic on boot if INVARIANTS is in the kernel. This 2006-06-17 20:10:32 +00:00
rpc
security Make the size of the subject32_ex and process32_ex tokens depend on 2006-06-17 13:53:04 +00:00
sparc64 Remove COMPAT_43 from GENERIC (and other kernel configs). For amd64 there's 2006-06-15 19:58:53 +00:00
sys Remove sbinsertoob(), sbinsertoob_locked(). They violate (and have 2006-06-17 22:48:34 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Check the sectorsize of the underlying disk before trying to 2006-06-03 21:20:37 +00:00
vm Use ptoa(psize) instead of size to compute the end of the mapping in 2006-06-17 08:45:01 +00:00
Makefile o Add net80211/ to cscope dir list. 2006-05-29 19:29:41 +00:00