- 17 Nov, 2002 40 commits
-
-
Alexander Viro authored
- example in Documentation/DocBook/procfs_example.c uses MOD_..._USE_COUNT for no reason. - alpha/kernel/srm_env.c uses MOD_...USE_COUNT for no reason _and_ does lovely stuff like strlen() on user-supplied pointers, copy_from_user() with unverified size, half-kilobyte on-stack arrays, etc. Fixed. - s390{,x}/kernel/debug.c: set ->owner instead of playing with MOD_..._USE_COUNT in ->open()/->release() - mwavedd.c: gratitious use of MOD_..._USE_COUNT - uinput.c: ditto - radio/miropcm20-rds.c: set ->owner, remove MOD_..._USE_COUNT from ->open()/->release(), fixed an obvious race in the former (it checked that nobody else had device opened, then did kmalloc() with GFP_KERNEL, then marked device as opened).
-
Alexander Viro authored
All callers of devfs_find_and_unregister() pass 0 in 6th argument. All uses of that function either pass 0 in 3rd and 4th argument (in which case the 5th is ignored) or pass the existing pathname in the 2nd (in which case 3rd, 4th and 5th are ignored). In all cases the first argument can be trivially made NULL. devfs_find_and_unregister() is left as-is. All existing callers converted to new helper - devfs_remove(pathname). Said beast does equivalent of devfs_find_and_unregister(NULL, pathname, 0, 0, 0, 0);
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
James Bottomley authored
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
-
James Bottomley authored
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
-
James Bottomley authored
-
James Bottomley authored
-
James Bottomley authored
-
Douglas Gilbert authored
Here is another version of the scsi_mid_low_api.txt document. It adds descriptions of functions supplied by the mid level for a LLD (lower level driver) to call. It is also tries to describe the two, alternate registration scenarios. How do the terms: "hotplug initialization model" and "passive initialization model" sound?
-
James Bottomley authored
-
James Bottomley authored
After the gendisk changes, the disk name disappeared from the initialisation methods (sd_spinup et al) because the disk name is set after the init routines are called. This moves init to be after the name is set
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andi Kleen authored
stat64 has been changed to return jiffies granuality as nsec in previously unused fields. This allows make to make better decisions on when to recompile a file. Follows losely the Solaris API. CURRENT_TIME has been redefined to return struct timespec. The users who don't use it in a inode/attr context have been changed to use a new get_seconds() function. CURRENT_TIME is implemented by an out-of-line function. There is a small performance penalty in this patch. The previous filemap code had an optimization to flush atime only once a second. This is currently gone, which will increase flushes a bit. I believe the correct solution if it should be a problem is to have per super block fields that give an arbitary atime flush granuality - so that you can set it to be only flushed once a hour if you prefer that. I will work on that later in separate patches if the need should arise. struct inode and the attr struct has been changed to store struct timespec instead of time_t for [cma]time. Not all file systems support this granuality, but some like XFS,NFSv3,CIFS,JFS do. The others will currently truncate the nsec part on flushing to disk. There was some discussion on this rounding on l-k previously. I went for simple truncation because there is not much evidence IMHO that the more complicated roundings have any advantages. In practice application will be rather unlikely to notice the rounding anyways - they can only see a difference when an inode is flush from memory and reloaded in less than a second, which is rather unlikely.
-
Christoph Hellwig authored
Don't include the following headers implicitly through fs.h: stddef.h, string.h, bitops.h, pipe_fs_i.h, ext3_fs_i.h, efs_fs_i.h and fixup the fallout..
-
Linus Torvalds authored
since they are needed for early arch initialization. Thanks to Manfred for pointing this out.
-
Christoph Hellwig authored
it's clearly error-handling specific and allows to mark scsi_new_reset static
-
Manfred Spraul authored
- function prototypes for request_irq were missing - after including <linux/interrupt.h>, I got an error due to a conflict with the 'irq_count()' macro and the irq_count function. Rename to i385_count_irq
-
-
Russell King authored
This allows the ARMv4 write buffer + icache entry handling instructions to be left out of a kernel which doesn't have separate icache entry handling instructions.
-
Russell King authored
This cset kills the old racy ecard device discovery interfaces, converting the remaining drivers to use the new LDM-based interface.
-
Russell King authored
Since we store two hardware pte tables contiguously, a common operation is to set two pmd entries. Rather than call set_pmd() with the associated overhead twice, we set the two PMD entries, and then call cpu_flush_pmd() to perform any CPU specific handling.
-
Russell King authored
Make flush_dcache_page() handle user space mappings correctly; with a VIVT cache, we need to make sure that any user space cache lines are coherent with the kernels view of the same page of memory.
-
Russell King authored
Remove unnecessary references to various include files from arch/arm
-
Russell King authored
- FORCE_MAX_ZONEORDER should depend on SA1111, not a collection of machine specific configuration symbols. - RPCMOUSE is obsolete; replaced by MOUSE_RISCPC.
-
Russell King authored
-
Trond Myklebust authored
Don't share a routing for xdr_encode_mon/umon. What we really want to do is split the XDR routine into one which does SM_MON encodes, and the other which does SM_UNMON. Remove some unused "void" encoders / decoders to avoid compiler warnings.
-
Manfred Spraul authored
fs/autofs/dirhash.c needs mount.h for mntget. I've added the #include into the central header file, it seems the author wants one central header for all .c files in fs/autofs
-
Manfred Spraul authored
Missing <linux/uio.h> due to header file cleanups.
-
bk://linux-scsi.bkbits.net/scsi-dledfordLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Doug Ledford authored
-
Doug Ledford authored
into aladin.rdu.redhat.com:/usr/src/2.5
-
Doug Ledford authored
-
bk://linux.bkbits.net/linux-2.5Doug Ledford authored
into flossy.devel.redhat.com:/usr/local/home/dledford/bk/linus-2.5
-
Linus Torvalds authored
-
bk://linux-scsi.bkbits.net/scsi-dledfordLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Arnaldo Carvalho de Melo authored
request_irq/free_irq are now in linux/interrupt.h
-
Arnaldo Carvalho de Melo authored
request_irq/free_irq are now in linux/interrupt.h
-
Arnaldo Carvalho de Melo authored
request_irq/free_irq are now in linux/interrupt.h
-
Arnaldo Carvalho de Melo authored
request_irq/free_irq are now in linux/interrupt.h
-