]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.48 v2.5.48
Linus Torvalds [Sun, 17 Nov 2002 12:29:25 +0000 (04:29 -0800)]
Linux v2.5.48

22 years agoMerge master.kernel.org:/home/acme/BK/includes-2.5
Linus Torvalds [Sun, 17 Nov 2002 12:27:01 +0000 (04:27 -0800)]
Merge master.kernel.org:/home/acme/BK/includes-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoo char: fix up header cleanups: include linux/interrupt.h
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 23:59:05 +0000 (21:59 -0200)]
o char: fix up header cleanups: include linux/interrupt.h

Also there is one sound header that was modified in the same way.

22 years agoo sound: fix up header cleanups: add include <linux/interrupt.h>
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 23:33:05 +0000 (21:33 -0200)]
o sound: fix up header cleanups: add include <linux/interrupt.h>

Also convert cmipci to C99 designated initializers style

22 years agoo ncpfs: fix up header cleanup: forward declare struct sock.
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 22:29:22 +0000 (20:29 -0200)]
o ncpfs: fix up header cleanup: forward declare struct sock.

22 years agoo mtpav: fix up header file cleanup: add include <linux/interrupt.h>
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 21:48:17 +0000 (19:48 -0200)]
o mtpav: fix up header file cleanup: add include <linux/interrupt.h>

22 years agoFix up devfs handling for when it is disabled.
Linus Torvalds [Sun, 17 Nov 2002 11:32:59 +0000 (03:32 -0800)]
Fix up devfs handling for when it is disabled.

22 years agoMerge master.kernel.org:/home/acme/BK/includes-2.5
Linus Torvalds [Sun, 17 Nov 2002 11:07:10 +0000 (03:07 -0800)]
Merge master.kernel.org:/home/acme/BK/includes-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] fix for rescan_partitions()
Alexander Viro [Sun, 17 Nov 2002 11:04:33 +0000 (03:04 -0800)]
[PATCH] fix for rescan_partitions()

Check for ->bd_invalidate moved from rescan_partitions() to the only caller
that
a) needs that check and
b) doesn't do it already.

Fixes the problem with BLKRRPART which doesn't want that check at all...

22 years ago[PATCH] more bogus MOD_INC_USE_COUNT removals
Alexander Viro [Sun, 17 Nov 2002 09:40:13 +0000 (01:40 -0800)]
[PATCH] more bogus MOD_INC_USE_COUNT removals

 - 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).

22 years ago[PATCH] devfs_remove() helper
Alexander Viro [Sun, 17 Nov 2002 09:39:09 +0000 (01:39 -0800)]
[PATCH] devfs_remove() helper

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);

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.5
Linus Torvalds [Sun, 17 Nov 2002 09:36:26 +0000 (01:36 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge mulgrave.(none):/home/jejb/BK/linux-2.5
James Bottomley [Sun, 17 Nov 2002 11:52:56 +0000 (05:52 -0600)]
Merge mulgrave.(none):/home/jejb/BK/linux-2.5
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5

22 years agoMerge mulgrave.(none):/home/jejb/BK/scsi-misc-2.5
James Bottomley [Sun, 17 Nov 2002 11:45:54 +0000 (05:45 -0600)]
Merge mulgrave.(none):/home/jejb/BK/scsi-misc-2.5
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5

22 years agoTidy up compile warnings in scsi.c
James Bottomley [Sun, 17 Nov 2002 11:36:23 +0000 (05:36 -0600)]
Tidy up compile warnings in scsi.c

22 years agofinal tidy up of hch/dledford merger
James Bottomley [Sun, 17 Nov 2002 10:40:28 +0000 (04:40 -0600)]
final tidy up of hch/dledford merger

22 years agoMerge hch/dledford patches
James Bottomley [Sun, 17 Nov 2002 10:34:14 +0000 (04:34 -0600)]
Merge hch/dledford patches

22 years ago[update] scsi_mid_low_api.txt
Douglas Gilbert [Sun, 17 Nov 2002 10:27:15 +0000 (04:27 -0600)]
[update] scsi_mid_low_api.txt

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?

22 years agoMerge hch/dledford changes
James Bottomley [Sun, 17 Nov 2002 10:24:06 +0000 (04:24 -0600)]
Merge hch/dledford changes

22 years agomove sd_init_onedisk so that the disk name is usable
James Bottomley [Sun, 17 Nov 2002 10:11:17 +0000 (04:11 -0600)]
move sd_init_onedisk so that the disk name is usable

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

22 years agoMerge home.transmeta.com:/home/torvalds/v2.5/nsec-stat
Linus Torvalds [Sun, 17 Nov 2002 09:12:29 +0000 (01:12 -0800)]
Merge home.transmeta.com:/home/torvalds/v2.5/nsec-stat
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] nanosecond stat timefields
Andi Kleen [Sun, 17 Nov 2002 09:10:25 +0000 (01:10 -0800)]
[PATCH] nanosecond stat timefields

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.

22 years ago[PATCH] pull even more crap out of fs.h
Christoph Hellwig [Sun, 17 Nov 2002 07:05:52 +0000 (23:05 -0800)]
[PATCH] pull even more crap out of fs.h

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..

22 years agoInitialize exception tables early - don't use an initcall,
Linus Torvalds [Sun, 17 Nov 2002 06:25:51 +0000 (22:25 -0800)]
Initialize exception tables early - don't use an initcall,
since they are needed for early arch initialization.

Thanks to Manfred for pointing this out.

22 years ago[PATCH] move scsi_reset_provider to scsi_error.c
Christoph Hellwig [Sun, 17 Nov 2002 06:17:06 +0000 (00:17 -0600)]
[PATCH] move scsi_reset_provider to scsi_error.c

it's clearly error-handling specific and allows to mark scsi_new_reset
static

22 years ago[PATCH] drivers/pcmcia/i8???.c
Manfred Spraul [Sun, 17 Nov 2002 06:13:58 +0000 (22:13 -0800)]
[PATCH] drivers/pcmcia/i8???.c

- 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

22 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Sun, 17 Nov 2002 06:11:47 +0000 (22:11 -0800)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[ARM] Move ARMv4 wbi functions to separate file
Russell King [Sun, 17 Nov 2002 21:56:28 +0000 (21:56 +0000)]
[ARM] Move ARMv4 wbi functions to separate file

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.

22 years ago[ARM] Finally kill old ecard device discovery interfaces.
Russell King [Sun, 17 Nov 2002 21:37:10 +0000 (21:37 +0000)]
[ARM] Finally kill old ecard device discovery interfaces.

This cset kills the old racy ecard device discovery interfaces,
converting the remaining drivers to use the new LDM-based
interface.

22 years ago[ARM] Optimise set_pmd
Russell King [Sun, 17 Nov 2002 19:17:13 +0000 (19:17 +0000)]
[ARM] Optimise set_pmd

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.

22 years ago[ARM] Fix flush_dcache_page()
Russell King [Sun, 17 Nov 2002 16:21:13 +0000 (16:21 +0000)]
[ARM] Fix flush_dcache_page()

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.

22 years ago[ARM] Clean up includes
Russell King [Sun, 17 Nov 2002 15:31:53 +0000 (15:31 +0000)]
[ARM] Clean up includes

Remove unnecessary references to various include files from arch/arm

22 years ago[ARM] Cleanup ARM configuration
Russell King [Sun, 17 Nov 2002 14:57:13 +0000 (14:57 +0000)]
[ARM] Cleanup ARM configuration

- FORCE_MAX_ZONEORDER should depend on SA1111, not a collection of
  machine specific configuration symbols.
- RPCMOUSE is obsolete; replaced by MOUSE_RISCPC.

22 years agoMerge
Russell King [Sun, 17 Nov 2002 10:27:27 +0000 (10:27 +0000)]
Merge

22 years ago[PATCH] More rpc cleanup...
Trond Myklebust [Sun, 17 Nov 2002 06:10:10 +0000 (22:10 -0800)]
[PATCH] More rpc cleanup...

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.

22 years ago[PATCH] fs/autofs/dirhash.c
Manfred Spraul [Sun, 17 Nov 2002 06:06:09 +0000 (22:06 -0800)]
[PATCH] fs/autofs/dirhash.c

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

22 years ago[PATCH] drivers/char/raw.c
Manfred Spraul [Sun, 17 Nov 2002 06:06:03 +0000 (22:06 -0800)]
[PATCH] drivers/char/raw.c

Missing <linux/uio.h> due to header file cleanups.

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-dledford
Linus Torvalds [Sun, 17 Nov 2002 06:04:32 +0000 (22:04 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-dledford
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agopci/setup-bus.c: Fix compile bustage from pci header cleanup
Doug Ledford [Sun, 17 Nov 2002 11:41:15 +0000 (06:41 -0500)]
pci/setup-bus.c: Fix compile bustage from pci header cleanup

22 years agoMerge aladin.rdu.redhat.com:/usr/local/home/dledford/bk/linus-2.5
Doug Ledford [Sun, 17 Nov 2002 11:38:02 +0000 (06:38 -0500)]
Merge aladin.rdu.redhat.com:/usr/local/home/dledford/bk/linus-2.5
into aladin.rdu.redhat.com:/usr/src/2.5

22 years agomodule.c: allow modules to enter themselves during mod init
Doug Ledford [Sun, 17 Nov 2002 11:32:15 +0000 (06:32 -0500)]
module.c: allow modules to enter themselves during mod init

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Doug Ledford [Sun, 17 Nov 2002 10:02:31 +0000 (05:02 -0500)]
Merge bk://linux.bkbits.net/linux-2.5
into flossy.devel.redhat.com:/usr/local/home/dledford/bk/linus-2.5

22 years agoAdd forgotten system call number for set_tid_address()
Linus Torvalds [Sun, 17 Nov 2002 05:43:01 +0000 (21:43 -0800)]
Add forgotten system call number for set_tid_address()

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-dledford
Linus Torvalds [Sun, 17 Nov 2002 04:29:42 +0000 (20:29 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-dledford
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge master.kernel.org:/home/acme/BK/includes-2.5
Linus Torvalds [Sun, 17 Nov 2002 03:45:33 +0000 (19:45 -0800)]
Merge master.kernel.org:/home/acme/BK/includes-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoo tp3870i: fixup after header files cleanups: add include <linux/interrupt.h>
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 15:34:21 +0000 (13:34 -0200)]
o tp3870i: fixup after header files cleanups: add include <linux/interrupt.h>

  request_irq/free_irq are now in linux/interrupt.h

22 years agoo mcd/mcdx: fixup after header files cleanups: add include <linux/interrupt.h>
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 15:28:22 +0000 (13:28 -0200)]
o mcd/mcdx: fixup after header files cleanups: add include <linux/interrupt.h>

request_irq/free_irq are now in linux/interrupt.h

22 years agoo cpqarray/cciss: fixup after header files cleanups: add include <linux/interrupt.h>
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 15:20:14 +0000 (13:20 -0200)]
o cpqarray/cciss: fixup after header files cleanups: add include <linux/interrupt.h>

request_irq/free_irq are now in linux/interrupt.h

22 years agoo xd: fixup after header files cleanups: add include <linux/interrupt.h>
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 15:09:57 +0000 (13:09 -0200)]
o xd: fixup after header files cleanups: add include <linux/interrupt.h>

request_irq/free_irq are now in linux/interrupt.h

22 years agoo ps2esdi: fixups after header file cleanups
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 13:10:44 +0000 (11:10 -0200)]
o ps2esdi: fixups after header file cleanups

Also fix a printk usage.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 07:41:00 +0000 (05:41 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
dquot that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 07:19:49 +0000 (05:19 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
smbfs that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 07:19:14 +0000 (05:19 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
pci_hotplug_core that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 05:50:35 +0000 (03:50 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
ntfs that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 05:37:45 +0000 (03:37 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
jffs2 that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 05:33:35 +0000 (03:33 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
intermezzo that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 05:30:35 +0000 (03:30 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
hugetlbfs that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 05:28:50 +0000 (03:28 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
cifs that got it implicitly before.

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Arnaldo Carvalho de Melo [Sun, 17 Nov 2002 05:24:58 +0000 (03:24 -0200)]
Fix up after header file cleanups: add <linux/mount.h> to
quota that got it implicitly before.

22 years agoMerge master.kernel.org:/home/acme/BK/includes-2.5
Linus Torvalds [Sun, 17 Nov 2002 03:36:08 +0000 (19:36 -0800)]
Merge master.kernel.org:/home/acme/BK/includes-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] UDF sync with CVS
Ben Fennema [Sun, 17 Nov 2002 03:35:24 +0000 (19:35 -0800)]
[PATCH] UDF sync with CVS

This patch updates udf to the CVS version:
  - removes UDF_RW
  - fixes a extraneous read after write which killed CDRW performance
  - fixes setting the session
  - fix a array index bug in udf_prealloc_extents
  - fix symlinks to correspond to the UDF spec

22 years agoMerge master.kernel.org:/home/acme/BK/includes-2.5
Linus Torvalds [Sun, 17 Nov 2002 03:29:30 +0000 (19:29 -0800)]
Merge master.kernel.org:/home/acme/BK/includes-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] threading fix, tid-2.5.47-A3
Ingo Molnar [Sun, 17 Nov 2002 03:22:19 +0000 (19:22 -0800)]
[PATCH] threading fix, tid-2.5.47-A3

This introduces the sys_set_thread_address() syscall.  It sets the tid
address (which gets cleared at VM release time) and returns the PID so
that the newly initialized 'initial thread' does not have to do an
additional sys_gettid() call.

It is used to bootstrap a thread group where the original thread user
hasn't had a tid address assigned to it by any parent.

22 years ago[PATCH] Export module_dummy_usage
Rusty Russell [Sun, 17 Nov 2002 03:22:12 +0000 (19:22 -0800)]
[PATCH] Export module_dummy_usage

Trivial patch.  We keep a dummy use count for old code which wants to
know its own usecount using GET_USE_COUNT.  It needs to be exported.

Thanks to Doug Ledford for the bug report.

22 years ago[PATCH] Forced module unload
Rusty Russell [Sun, 17 Nov 2002 03:22:06 +0000 (19:22 -0800)]
[PATCH] Forced module unload

This is the logical counterpoint to the code which marks modules
"[unsafe]" when obsolete (racy) interfaces are used.  Allows "just
remove the damn thing" rmmod -f, and taints the kernel.

Mark it dangerous and experimental in the config file to make this
doubly clear.

22 years ago[PATCH] add strcspn() library function
Rusty Russell [Sun, 17 Nov 2002 03:22:00 +0000 (19:22 -0800)]
[PATCH] add strcspn() library function

This patch implements a generic strcspn.

22 years ago[PATCH] Allocate struct module using special allocator
Rusty Russell [Sun, 17 Nov 2002 03:21:55 +0000 (19:21 -0800)]
[PATCH] Allocate struct module using special allocator

Sparc64 (and probably others) need all the kernel symbols within
32-bits, which includes the manufactured "__this_module" which refers
to the struct module *.

This changes the interface back to its old style: the arch-specific code
manipulates the init and core sizes, and we call module_alloc() ourselves.

22 years ago[PATCH] separate out moduleloader.h
Rusty Russell [Sun, 17 Nov 2002 03:21:48 +0000 (19:21 -0800)]
[PATCH] separate out moduleloader.h

Separates the module loading function prototypes (and elf.h) into
moduleloader.h.  AT_GID in elf.h clashes with xfs.h, but this also
makes module.h less cluttered.

22 years agoFix up missing "struct iovec" declaration that was lost in
Linus Torvalds [Sun, 17 Nov 2002 02:41:13 +0000 (18:41 -0800)]
Fix up missing "struct iovec" declaration that was lost in
<linux/fs.h> cleanups

22 years agoMake sure we clean user_tid when we've released the
Linus Torvalds [Sun, 17 Nov 2002 02:20:45 +0000 (18:20 -0800)]
Make sure we clean user_tid when we've released the
memory space it was associated with.

22 years ago[PATCH] Emu10k1 gameport fix
Brian Gerst [Sun, 17 Nov 2002 02:13:25 +0000 (18:13 -0800)]
[PATCH] Emu10k1 gameport fix

Change from PCI name to generic device name.

22 years ago[PATCH] Run timers as softirqs, not tasklets
Matthew Wilcox [Sun, 17 Nov 2002 02:13:20 +0000 (18:13 -0800)]
[PATCH] Run timers as softirqs, not tasklets

The timer code is attempting to replicate the softirq characteristics at
the tasklet level, which is a little pointless.  This patch converts
timers to be a first-class softirq citizen.

22 years ago[PATCH] don't include net.h in fs.h
Christoph Hellwig [Sun, 17 Nov 2002 02:06:48 +0000 (18:06 -0800)]
[PATCH] don't include net.h in fs.h

fs.h is pulling so much crap in..  No need to include net.h in fs.h if
we move struct sock_alloc to net.h (which already includes fs.h through
skbuf.h and mm.h..).  Fixup the few files in net/ that relied on this,
and the readv/writev implementations that got uio.h through net.h.

22 years agoMerge http://jdike.stearns.org:5000/updates-2.5
Linus Torvalds [Sun, 17 Nov 2002 02:05:43 +0000 (18:05 -0800)]
Merge http://jdike.stearns.org:5000/updates-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] trivial compile fix for pxa-regs.h
Adrian Bunk [Sun, 17 Nov 2002 02:04:31 +0000 (18:04 -0800)]
[PATCH] trivial compile fix for pxa-regs.h

22 years ago[PATCH] cleanup: switch to passing *(struct rpc_procinfo) in rpc_message.
Trond Myklebust [Sun, 17 Nov 2002 02:03:15 +0000 (18:03 -0800)]
[PATCH] cleanup: switch to passing *(struct rpc_procinfo) in rpc_message.

The "procedure number" has been used for 2 purposes in the kernel
client RPC implementation:

  1) As a number to pass to the server in the RPC header.

  2) As an index into the "procedure array" of type 'struct
     rpc_procinfo', from which the RPC layer can find the XDR
     encode/decode functions, buffer size, and all the other static
     data that it needs to construct the on-wire RPC message.

This works fine for NFSv2, v3 and for the NLM locking code for which
there is a one-to-one mapping between NFS file operations, and RPC
procedures.
For NFSv4 on the other hand, the mapping is many-to-one, since there
is only one RPC procedure number: NFSPROC4_COMPOUND.

For efficiency purposes, we want to have a one-to-one mapping between
NFS file operations and the corresponding XDR encode/decode routines,
but currently this is not possible because of (2). The result is the
mess that is 'struct nfs4_op' and encode/decode_compound.

In the process eliminating (2), we might as well change to passing a
pointer to the appropriate procedure array entry instead of an
index. This change can be made transparent

The appended patch therefore does the following:

   - Substitute a pointer to the rpc_procinfo instead of the RPC
     procedure number in the struct rpc_message.
   - Make the RPC procedure number an entry in the struct
     rpc_procinfo.
   - Clean out the largely unused (except in some obscure lockd
     debugging code) p_name field. The latter was just a stringified
     version of the RPC procedure name, so for those lockd cases, we
     can use the RPC procedure number instead.

22 years ago[PATCH] yenta resource handling bugs
Manfred Spraul [Sun, 17 Nov 2002 01:50:42 +0000 (17:50 -0800)]
[PATCH] yenta resource handling bugs

This adds error handling to the resource allocations in yenta.c: check
that request_resource returns success, reduce allocation size if
allocate_resource fails, free resources on module unload.

22 years agoMerge
Linus Torvalds [Sun, 17 Nov 2002 01:50:05 +0000 (17:50 -0800)]
Merge

22 years ago[PATCH] additional cleanup for f_op->poll
Manfred Spraul [Sun, 17 Nov 2002 01:48:58 +0000 (17:48 -0800)]
[PATCH] additional cleanup for f_op->poll

This splits poll_table into one structure used by f_op->poll and one
structure used by the implemenation of sys_poll/sys_select: poll_table
contains just the callback function pointer.  struct poll_wrapper
additionally contains err and table, i.e.  the members used by the poll
implementation.

Changes:
- split poll_table into 2 structures
- reorder the declarations in <linux/poll.h> accordingly
- uninline poll_initwait().

22 years ago[PATCH] epoll - just when you think it's over ...
Davide Libenzi [Sun, 17 Nov 2002 01:46:03 +0000 (17:46 -0800)]
[PATCH] epoll - just when you think it's over ...

This does:

- naming cleanup: ep_* -> eventpoll_* for non-static functions ( 2 )

- No more limit of 2 poll wait queue for each file*

Before epoll used to have, inside its item struct, space for two wait
queues. This was driven by the fact that during a f_op->poll() each file
won't register more than one read and one write wait queue. Now, I'm not
sure if this is 100% true or not, but with the current implementation a
linked list of wait queues is kept to remove each limit.

22 years agoUpdates to 2.5.47.
Jeff Dike [Sat, 16 Nov 2002 17:06:20 +0000 (12:06 -0500)]
Updates to 2.5.47.

22 years agoMerge uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5
Jeff Dike [Sat, 16 Nov 2002 16:32:43 +0000 (11:32 -0500)]
Merge uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5
into uml.karaya.com:/home/jdike/linux/2.5/work-2.5

22 years agoChristoph Hellwig posted a patch that conflicted with a lot of my own
Doug Ledford [Sat, 16 Nov 2002 16:31:05 +0000 (11:31 -0500)]
Christoph Hellwig posted a patch that conflicted with a lot of my own
changes, so this is the merge of his work into my own.

22 years agoMerge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
Jeff Dike [Sat, 16 Nov 2002 16:27:33 +0000 (11:27 -0500)]
Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
into uml.karaya.com:/home/jdike/linux/2.5/work-2.5

22 years agoaic7xxx_old: fix check_region/request_region usage so that the module
Doug Ledford [Sat, 16 Nov 2002 16:22:06 +0000 (11:22 -0500)]
aic7xxx_old: fix check_region/request_region usage so that the module
may be loaded/unloaded/reloaded

22 years agoMerge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
Jeff Dike [Sat, 16 Nov 2002 16:08:04 +0000 (11:08 -0500)]
Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

22 years agoUpdate high level scsi drivers to use struct list_head in templates
Doug Ledford [Sat, 16 Nov 2002 15:59:23 +0000 (10:59 -0500)]
Update high level scsi drivers to use struct list_head in templates
Update scsi.c for struct list_head in upper layer templates
Update scsi.c for new module loader semantics

22 years agomove all procfs code to scsi_proc
Christoph Hellwig [Sat, 16 Nov 2002 15:26:07 +0000 (10:26 -0500)]
move all procfs code to scsi_proc

scsi.c gets really far too big, and having all code that depends on
CONFIG_PROC_FS in scsi_proc.c is a nice cleanup.  Note that much of
the procfs code is really really ugly and wants a rewrite to at
least use the seq_file interface and probably moving to sysfs.

22 years agoMerge mulgrave.(none):/home/jejb/BK/scsi-misc-2.5
James Bottomley [Sat, 16 Nov 2002 13:56:21 +0000 (08:56 -0500)]
Merge mulgrave.(none):/home/jejb/BK/scsi-misc-2.5
into mulgrave.(none):/home/jejb/BK/scsi-misc-new-2.5

22 years ago[PATCH] Add some missing includes to drivers/base
Matthew Wilcox [Sat, 16 Nov 2002 12:22:40 +0000 (04:22 -0800)]
[PATCH] Add some missing includes to drivers/base

drivers/base relies on device.h pulling in sched.h pulling in the rest
of the world.  Add some explicit dependencies in preparation for removing
sched.h from device.h.

22 years ago[PATCH] remove sched.h from coda_linux.h
Matthew Wilcox [Sat, 16 Nov 2002 12:22:33 +0000 (04:22 -0800)]
[PATCH] remove sched.h from coda_linux.h

coda_linux simply doesn't need sched.h

22 years ago[PATCH] remove sched.h from elf.h
Matthew Wilcox [Sat, 16 Nov 2002 12:22:28 +0000 (04:22 -0800)]
[PATCH] remove sched.h from elf.h

elf.h simply doesn't need sched.h

22 years ago[PATCH] remove sched.h from ftape.h
Matthew Wilcox [Sat, 16 Nov 2002 12:22:22 +0000 (04:22 -0800)]
[PATCH] remove sched.h from ftape.h

ftape.h really wants interrupt.h, not sched.h

22 years ago[PATCH] remove sched.h from i2c.h
Matthew Wilcox [Sat, 16 Nov 2002 12:13:32 +0000 (04:13 -0800)]
[PATCH] remove sched.h from i2c.h

i2c.h simply doesn't need sched.h

22 years ago[PATCH] remove sched.h from if_pppox.h
Matthew Wilcox [Sat, 16 Nov 2002 12:13:27 +0000 (04:13 -0800)]
[PATCH] remove sched.h from if_pppox.h

if_pppox simply doesn't need sched.h

22 years agoFix up after header file cleanups: add <linux/mount.h> to
Linus Torvalds [Sat, 16 Nov 2002 12:11:52 +0000 (04:11 -0800)]
Fix up after header file cleanups: add <linux/mount.h> to
NFSD users that got it implicitly before.

22 years agoFix up after pci name removal
Linus Torvalds [Sat, 16 Nov 2002 12:10:55 +0000 (04:10 -0800)]
Fix up after pci name removal

22 years ago[PATCH] fork.c bits for uClinux
Christoph Hellwig [Sat, 16 Nov 2002 11:52:28 +0000 (03:52 -0800)]
[PATCH] fork.c bits for uClinux

mmuless ports don't need dup_mmap nor allocation of a pgd.

I tried to avoid ifdef-mess as far as possible, and to archive that
I created small wrappers for pgd allocation/freeing and move taking
of the mmap semaphore into dup_mmap from the only caller.  The end
result is just one additiona ifdef.

22 years ago[PATCH] move mount.h out of fs_struct.h
Christoph Hellwig [Sat, 16 Nov 2002 11:52:23 +0000 (03:52 -0800)]
[PATCH] move mount.h out of fs_struct.h

It's only need for the two monster-inlines set_fs_root and set_fs_pwd
that should better be out of line anyway.  Some additional cleanup like
named initializers as extra bonus.

22 years ago[PATCH] don't include mount.h in dcache.h
Christoph Hellwig [Sat, 16 Nov 2002 11:52:18 +0000 (03:52 -0800)]
[PATCH] don't include mount.h in dcache.h

Once again we only need a forward-declaration of struct vfsmount.