]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] Fix hw_random build on ia64
Bjorn Helgaas [Mon, 19 Apr 2004 08:54:45 +0000 (04:54 -0400)]
[PATCH] Fix hw_random build on ia64

The following patch allows hw_random.c to build on ia64.  (The problem
was just that the VIA stuff has i386 assembly in it.  The current code
only probes for VIA on i386 anyway, so this patch just adds more ifdefs
so the VIA code is only built for i386.)

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 18 Apr 2004 15:12:31 +0000 (08:12 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Clean up ARM includes
Russell King [Sun, 18 Apr 2004 23:32:07 +0000 (00:32 +0100)]
[ARM] Clean up ARM includes

This removes a number of unnecessary includes from the ARM specific
files throughout the kernel.  Most notably asm/pgalloc.h is
needlessly included in several places.  There were some places
including it as a means to get at the cache flushing functions,
so this has been corrected.

21 years ago[PATCH] Fix typo in previous patch
Benjamin Herrenschmidt [Sun, 18 Apr 2004 15:04:12 +0000 (08:04 -0700)]
[PATCH] Fix typo in previous patch

This is my brown paper bag day, I sent you the wrong patch for
fixing the deadlock in rtas.c, here's one to apply on top of current
bk that fixes build.

21 years agoFix permission problem on include/video/neomagic.h
Linus Torvalds [Sun, 18 Apr 2004 05:18:59 +0000 (22:18 -0700)]
Fix permission problem on include/video/neomagic.h

21 years ago[PATCH] Amiga Zorro8390 Ethernet KERN_*
Geert Uytterhoeven [Sun, 18 Apr 2004 04:14:36 +0000 (21:14 -0700)]
[PATCH] Amiga Zorro8390 Ethernet KERN_*

Amiga Zorro8390 Ethernet: Add KERN_* prefixes to printk() messages

21 years ago[PATCH] Amiga Hydra Ethernet KERN_*
Geert Uytterhoeven [Sun, 18 Apr 2004 04:14:22 +0000 (21:14 -0700)]
[PATCH] Amiga Hydra Ethernet KERN_*

Amiga Hydra Ethernet: Add KERN_* prefixes to printk() messages

21 years ago[PATCH] Amiga Ariadne Ethernet KERN_*
Geert Uytterhoeven [Sun, 18 Apr 2004 04:14:10 +0000 (21:14 -0700)]
[PATCH] Amiga Ariadne Ethernet KERN_*

Amiga Ariadne Ethernet: Add KERN_* prefixes to printk() messages

21 years ago[PATCH] Amiga A2065 Ethernet debug
Geert Uytterhoeven [Sun, 18 Apr 2004 04:13:57 +0000 (21:13 -0700)]
[PATCH] Amiga A2065 Ethernet debug

Amiga A2065 Ethernet: Add missing variable in debug code

21 years ago[PATCH] fix visws build
Andrew Morton [Sun, 18 Apr 2004 03:56:22 +0000 (20:56 -0700)]
[PATCH] fix visws build

From: Andrey Panin <pazke@donpac.ru>

this small patch fixes visws build error in 2.6.5.

21 years ago[PATCH] Fix laptop mode writeback triggered by hdparm -y.
Andrew Morton [Sun, 18 Apr 2004 03:56:09 +0000 (20:56 -0700)]
[PATCH] Fix laptop mode writeback triggered by hdparm -y.

From: Bart Samwel <bart@samwel.tk>

Currently, an `hdparm -Y' can trigger a sync in laptop mode.  We should
only count fs-originated requests as being "disk activity".

21 years ago[PATCH] set_anon_super locking fix
Andrew Morton [Sun, 18 Apr 2004 03:55:56 +0000 (20:55 -0700)]
[PATCH] set_anon_super locking fix

Take the idr's lock while removing an element on the error path.  Spotted by
Nathan Lynch <nathanl@austin.ibm.com>.

21 years ago[PATCH] Print warning for common symbols in modules
Andrew Morton [Sun, 18 Apr 2004 03:55:43 +0000 (20:55 -0700)]
[PATCH] Print warning for common symbols in modules

From: Rusty Russell <rusty@rustcorp.com.au>

People still build modules wrong, particularly without -fno-common.  The
resulting modules don't load, but we should at least warn about it.

21 years ago[PATCH] jbd: journal_dirty_metadata locking speedup
Andrew Morton [Sun, 18 Apr 2004 03:55:31 +0000 (20:55 -0700)]
[PATCH] jbd: journal_dirty_metadata locking speedup

Reduce the locking coverage of the oft-used j_list_lock: the per-bh
jbd_lock_bh_state() gives us sufficient locking of buffer_head and
journal_head internals.

21 years ago[PATCH] rmap: nonlinear truncation
Andrew Morton [Sun, 18 Apr 2004 03:55:18 +0000 (20:55 -0700)]
[PATCH] rmap: nonlinear truncation

From: Hugh Dickins <hugh@veritas.com>

The earlier changes introducing PageAnon left truncated pages mapped into
nonlinear vmas unswappable.  Once we go to object-based rmap, it's
impossible to find where file page is mapped once page->mapping cleared:
switching them to anonymous is odd, and breaks strict commit accounting.

So now handle truncation of nonlinear vmas correctly.  And factor in
Daniel's cluster filesystem needs while we're there: when invalidating
local cache, we do want to unmap shared pages from all mms, but we do not
want to discard private COWed modifications of those pages (which
truncation discards to satisfy the SIGBUS semantics demanded by specs).

Drew from Daniel's patch (LKML 2 Mar 04), but didn't always follow it;
fewer name changes, but still some - "unmap" rather than "invalidate".
zap_page_range is not exported, safe to give it and all the too-many layers
an extra zap_details arg, in normal cases just NULL.

Given details, zap_pte_range checks page mapping or index to skip anon or
untruncated pages.  I didn't realize before implementing, that in nonlinear
case, it should set a file pte when truncating - otherwise linear pages
might appear in place of SIGBUS.  I suspect this implies that ->populate
functions ought to set file ptes beyond EOF instead of failing, but haven't
changed them as yet.

To avoid making yet another copy of that ugly linear pgidx test, added
inline function linear_page_index (to pagemap.h to get PAGE_CACHE_SIZE,
though as usual things don't really work if it differs from PAGE_SIZE).
Ooh, I thought I'd removed ___add_to_page_cache last time, do so now.

unmap_page_range static, shift its hugepage check up into sole caller
unmap_vmas.  Killed "killme" debug from unmap_vmas, not seen it trigger.
unmap_mapping_range is exported without restriction: I'm one of those who
believe it should be generally available.  But I'm wrongly placed to decide
that, probably just sob quietly to myself if _GPL added later.

21 years ago[PATCH] rmap: swap_unplug page
Andrew Morton [Sun, 18 Apr 2004 03:55:06 +0000 (20:55 -0700)]
[PATCH] rmap: swap_unplug page

From: Hugh Dickins <hugh@veritas.com>

Good example of "swapper_space considered harmful": swap_unplug_io_fn was
originally designed for calling via swapper_space.backing_dev_info; but
that way it loses track of which device is to be unplugged, so had to
unplug all swap devices.  But now sync_page tests SwapCache anyway, can
call swap_unplug_io_fn with page, which leads direct to the device.

Reverted -mc4's CONFIG_SWAP=n fix, just add another NOTHING for it.
Reverted -mc3's editorial adjustments to swap_backing_dev_info and
swapper_space initializations: they document the few fields which are
actually used now, as comment above them says (sound of slapped wrist).

21 years ago[PATCH] rmap: flush_dcache revisited
Andrew Morton [Sun, 18 Apr 2004 03:54:52 +0000 (20:54 -0700)]
[PATCH] rmap: flush_dcache revisited

From: Hugh Dickins <hugh@veritas.com>

One of the callers of flush_dcache_page is do_generic_mapping_read, where
file is read without i_sem and without page lock: concurrent truncation may
at any moment remove page from cache, NULLing ->mapping, making
flush_dcache_page liable to oops.  Put result of page_mapping in a local
variable and apply mapping_mapped to that (if we were to check for NULL
within mapping_mapped, it's unclear whether to say yes or no).

parisc and arm do have other locking unsafety in their i_mmap(_shared)
searching, but that's a larger issue to be dealt with down the line.

21 years ago[PATCH] Oprofilefs cant handle > 99 cpus
Andrew Morton [Sun, 18 Apr 2004 03:54:39 +0000 (20:54 -0700)]
[PATCH] Oprofilefs cant handle > 99 cpus

From: Anton Blanchard <anton@samba.org>

Oprofilefs cant handle > 99 cpus. This should fix it.

21 years ago[PATCH] Fix unix module
Andrew Morton [Sun, 18 Apr 2004 03:54:27 +0000 (20:54 -0700)]
[PATCH] Fix unix module

From: Rusty Russell <rusty@rustcorp.com.au>

# lsmod
Module                  Size  Used by
1                      26060  6
#

The compiler #define's unix to 1: we use -DKBUILD_MODNAME=unix.  We used to
#undef unix at the top of af_unix.c, but now the name is inserted by
modpost, that doesn't help.

#undef unix in modpost.c's generated C file.

21 years ago[PATCH] ppc64: Fix CPU hot unplug deadlock
Andrew Morton [Sun, 18 Apr 2004 03:54:15 +0000 (20:54 -0700)]
[PATCH] ppc64: Fix CPU hot unplug deadlock

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

My RTAS locking fixes incorrectly added a spinlock around the function used
to stop a CPU, that function never returns, thus the lock becomes stale.
The correct fix is to disable interrupts instead (the RTAS params beeing
per-CPU, this should be safe enough)

21 years agoAllow non-LFS sendfile to work on LFS files.
Linus Torvalds [Sun, 18 Apr 2004 03:51:30 +0000 (20:51 -0700)]
Allow non-LFS sendfile to work on LFS files.

But obviously only if we're not passing in any offset pointer.

This is how 2.4.x worked, and vsftpd relies on it.

Bug reported by Chris < chris@scary.beasts.org>

21 years agoMerge master.kernel.org:/home/davem/BK/net-2.6
Linus Torvalds [Sun, 18 Apr 2004 03:47:28 +0000 (20:47 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Add detailed documentation concerning ARM page tables
Russell King [Sat, 17 Apr 2004 23:19:03 +0000 (00:19 +0100)]
[ARM] Add detailed documentation concerning ARM page tables

This adds detailed documentation concerning how we map the Linux
page table structure onto the hardware tables on ARM.  In addition,
it also adds documentation describing how we emulate the "dirty"
and "young" or "accessed" page table bits.

This should be of interest to Linux MM developers.

21 years ago[PATCH] Fix vma corruption
Hugh Dickins [Sat, 17 Apr 2004 10:50:14 +0000 (03:50 -0700)]
[PATCH] Fix vma corruption

It occurred to me that if vma and new_vma are one and the same, then
vma_relink_file will not do a good job of linking it after itself - in
that pretty unlikely case when move_page_tables fails.

And more generally, whenever copy_vma's vma_merge succeeds, we have no
guarantee that old vma comes before new_vma in the i_mmap lists, as we
need to satisfy Rajesh's point: that ordering is only guaranteed in the
newly allocated case.

We have to abandon the ordering method when/if we move from lists to
prio_trees, so this patch switches to the less glamorous use of
i_shared_sem exclusion, as in my prio_tree mremap.

21 years ago[PATCH] Remove unused 'kobject' from superblock
Alexander Viro [Sat, 17 Apr 2004 10:45:53 +0000 (03:45 -0700)]
[PATCH] Remove unused 'kobject' from superblock

The field in question is
  a) unused
  b) damn next to impossible to use correctly, due to struct super_block
     lifetime and locking rules.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Sat, 17 Apr 2004 10:44:47 +0000 (03:44 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Sat, 17 Apr 2004 10:43:18 +0000 (03:43 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[SERIAL] Use module_param/module_param_array
Russell King [Sat, 17 Apr 2004 12:08:39 +0000 (13:08 +0100)]
[SERIAL] Use module_param/module_param_array

Update serial to use new module parameters rather than
MODULE_PARM.

21 years ago[SERIAL] Remove check_region()
Russell King [Sat, 17 Apr 2004 11:31:25 +0000 (12:31 +0100)]
[SERIAL] Remove check_region()

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 17 Apr 2004 10:41:41 +0000 (03:41 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PCMCIA] Conversion to module_param
Pavel Roskin [Sat, 17 Apr 2004 10:41:18 +0000 (11:41 +0100)]
[PCMCIA] Conversion to module_param

Patch from: Pavel Roskin

As it turns out, mixing MODULE_PARM and module_param in one module is
wrong.  The parameters specified in module_param are ignored.  I've just
posted a patch to LKML that will detect this condition and warn about it.

The new debugging code used the new-style module_param, which means that
all instances of MODULE_PARM should be converted.  The attached patch does
that.

An additional bonus is that module_param_array provides the number of
array elements.  This allowed me to change tcic.c and i82365.c to use
this number for IRQ list.  This change was tested with i82365.  If
"irq_list" is not specified, irq_list_count is 0.

I set all permissions to 0444 to be safe.  I think we have no secrets
from the users regarding those parameters.  If some parameters can be
changed safely at the runtime, the permissions could be changed to 0644.
I didn't examine how safe (and how useful) it would be, so it's 0444 for
now.

21 years ago[PATCH] ARM-related ptep_to_address() fix
Andrew Morton [Sat, 17 Apr 2004 10:32:46 +0000 (03:32 -0700)]
[PATCH] ARM-related ptep_to_address() fix

From: William Lee Irwin III <wli@holomorphy.com>

rmk mentioned that ARM was borked as the relation, assumed by generic rmap,
PTRS_PER_PTE*sizeof(pte_t) == PAGE_SIZE, fails to hold.  The following
patch, developed jointly with him (or depending on POV, by him with me
acting as codemonkey), is reported to resolve the issue.

Specifically, while ARM dedicates an entire PAGE_SIZE -sized block of
memory to each PTE table, the PTE table itself only spans half that, the
remainder being dedicated to hardware-interpreted structures.  As the
hardware structure must be contiguous, wider ptes can't be used.  So the
core-visible PTE table only spans PAGE_SIZE/2 bytes, violating the
assumption.  This corrects masking and scaling done in ptep_to_address().

21 years ago[PATCH] aty128fb dereference before null check
Andrew Morton [Sat, 17 Apr 2004 10:29:32 +0000 (03:29 -0700)]
[PATCH] aty128fb dereference before null check

From: Dave Jones <davej@redhat.com>

21 years ago[PATCH] mqueue permission fix
Andrew Morton [Sat, 17 Apr 2004 10:29:22 +0000 (03:29 -0700)]
[PATCH] mqueue permission fix

From: Manfred Spraul <manfred@colorfullife.com>

Any user can delete any entries in a mqueue mounted filesystem.  The attached
patch prevents that.

- remove the writable test from mq_unlink.

- set the sticky bit in the root inode.  This affects both mq_unlink and
  sys_unlink: only the owner (and root) should be allowed to remove queues.

21 years ago[PATCH] Fix bogus get_page() calls in hugepage code
Andrew Morton [Sat, 17 Apr 2004 10:29:12 +0000 (03:29 -0700)]
[PATCH] Fix bogus get_page() calls in hugepage code

From: David Gibson <david@gibson.dropbear.id.au>

Some versions of follow_huge_addr() and follow_huge_pmd() are doing a
get_page() on the target page.  They shouldn't: follow_page() returns an
unpinned page and it is the caller's responsibility to pin the page (if
desired) before dropping page_table_lock.

21 years ago[PATCH] ppc64: yet another hugepage cleanup
Andrew Morton [Sat, 17 Apr 2004 10:29:02 +0000 (03:29 -0700)]
[PATCH] ppc64: yet another hugepage cleanup

From: David Gibson <david@gibson.dropbear.id.au>

Trivial cleanup to flush_hash_hugepage() in the ppc64 hugepage code.

21 years ago[PATCH] ipmi build fix
Andrew Morton [Sat, 17 Apr 2004 10:28:52 +0000 (03:28 -0700)]
[PATCH] ipmi build fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

While compiling drivers/char/ipmi/ipmi_si_intf.c in 2.6.6-rc1 on m68k, I
noticed a missing include (needed for disable_irq_nosync() and enable_irq())

21 years ago[PATCH] floppy98.c build fixes
Andrew Morton [Sat, 17 Apr 2004 10:28:36 +0000 (03:28 -0700)]
[PATCH] floppy98.c build fixes

From: "Randy.Dunlap" <rddunlap@osdl.org>

floppy98.c (along with other PC-9800 files) has not been updated lately.  It
won't build currently (2.6.5).

This patch makes floppy98 build cleanly.

21 years ago[PATCH] reiserfs: remove final sleep_on
Andrew Morton [Sat, 17 Apr 2004 10:28:24 +0000 (03:28 -0700)]
[PATCH] reiserfs: remove final sleep_on

From: Chris Mason <mason@suse.com>

Get rid of the last sleep_on in the reiserfs code

21 years ago[PATCH] reiserfs: fsync() speedup
Andrew Morton [Sat, 17 Apr 2004 10:28:13 +0000 (03:28 -0700)]
[PATCH] reiserfs: fsync() speedup

From: Chris Mason <mason@suse.com>

Updates the reiserfs-logging improvements to use schedule_timeout instead of
yield when letting the transaction grow a little before forcing a commit for
fsync/O_SYNC/O_DIRECT.

Also, when one process forces a transaction to end and plans on doing the
commit (like fsync), it sets a flag on the transaction so the journal code
knows not to bother kicking the journal work queue.

queue_delayed_work is used so that if we get a bunch of tiny transactions
ended quickly, we aren't constantly kicking the work queue.

These significantly improve reiserfs performance during fsync heavy
workloads.

21 years ago[PATCH] Add "commit=0" to reiserfs
Andrew Morton [Sat, 17 Apr 2004 10:28:02 +0000 (03:28 -0700)]
[PATCH] Add "commit=0" to reiserfs

From: Bart Samwel <bart@samwel.tk>

Add support for value 0 to the commit option of reiserfs.  Means "restore
to the default value".  For the maximum commit age, this default value is
normally read from the journal; this patch adds an extra variable to cache
the default value for the maximum commit age.

21 years ago[PATCH] ppc64: hugepage cleanup
Andrew Morton [Sat, 17 Apr 2004 10:27:51 +0000 (03:27 -0700)]
[PATCH] ppc64: hugepage cleanup

From: David Gibson <david@gibson.dropbear.id.au>

This is a small cleanup to the PPC64 hugepage code.  It removes an
unhelpful function, removing some studlyCaps in the process.  It was
originally this way to match the normal page path, but that has all been
rewritten since.

21 years ago[PATCH] Fix mq 32-bit compatibility
Andrew Morton [Sat, 17 Apr 2004 10:27:40 +0000 (03:27 -0700)]
[PATCH] Fix mq 32-bit compatibility

From: Jakub Jelinek <jakub@redhat.com>

The first change removes just a useless put_user (si_int and si_ptr are
part of the same union, si_ptr is on all arches covering whole union), the
rest is fixes for signal handling of SI_MESGQ.

21 years ago[PATCH] remove buffer_error()
Andrew Morton [Sat, 17 Apr 2004 10:27:28 +0000 (03:27 -0700)]
[PATCH] remove buffer_error()

From: Jeff Garzik <jgarzik@pobox.com>

It was debug code, no longer required.

21 years ago[PATCH] PCI MSI Kconfig consolidation
Andrew Morton [Sat, 17 Apr 2004 10:27:17 +0000 (03:27 -0700)]
[PATCH] PCI MSI Kconfig consolidation

From: Bjorn Helgaas <bjorn.helgaas@hp.com>

This consolidates the PCI MSI configuration into drivers/pci/Kconfig,
removing it from the i386, x86_64, and ia64 Kconfig.

It also changes the default for ia64 from "y" to "n".  The default on i386
is "n" already, and I'm not sure why ia64 should be different.

21 years ago[PATCH] kill submit_{bh,bio} return value
Andrew Morton [Sat, 17 Apr 2004 10:27:06 +0000 (03:27 -0700)]
[PATCH] kill submit_{bh,bio} return value

From: Jeff Garzik <jgarzik@pobox.com>

Nobody ever checks the return value of submit_bh(), and submit_bh() is the
only caller that checks the submit_bio() return value.

This changes the kernel I/O submission path -- a fast path -- so this
cleanup is also a microoptimization.

21 years ago[PATCH] kNFSdv4: Implement server-side reboot recovery (mostly)
Andrew Morton [Sat, 17 Apr 2004 10:26:55 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Implement server-side reboot recovery (mostly)

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: Implement server-side reboot recovery (server now handles
open and lock reclaims).  Not completely to spec: we don't yet store the
state in stable storage that would be required to recover correctly in
certain situations.

21 years ago[PATCH] kNFSdv4: Set credentials properly when puutrootfh is used
Andrew Morton [Sat, 17 Apr 2004 10:26:39 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Set credentials properly when puutrootfh is used

From: NeilBrown <neilb@cse.unsw.edu.au>

The credentials (uid/gid) of a process are set when a filehandle is
verified.  Nfsv4 allows requests without an explicit filehandle (instead,
an implicit 'root' filehandle) so we much make sure the credentials are set
for these requests too.

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: added a call to nfsd_setuser in nfsd4_putrootfh so that nfsd
runs as the rpc->cred user.

21 years ago[PATCH] kNFSdv4: Improve how locking copes with replays
Andrew Morton [Sat, 17 Apr 2004 10:26:28 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Improve how locking copes with replays

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: Hold state_lock longer so the stateowner doesn't diseappear
out from under us before we get the chance to encode the replay.  Don't
attempt to save replay if we failed to find a stateowner.

21 years ago[PATCH] kNFSdv4: Allow locku replays aswell
Andrew Morton [Sat, 17 Apr 2004 10:26:12 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Allow locku replays aswell

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: locku replies should be saved for possible replay as well.

21 years ago[PATCH] kNFSdv4: Keep state to allow replays for 'close' to work.
Andrew Morton [Sat, 17 Apr 2004 10:25:57 +0000 (03:25 -0700)]
[PATCH] kNFSdv4: Keep state to allow replays for 'close' to work.

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: Idea is to keep around a list of openowners recently released
by closes, and make sure they stay around long enough so that replays still
work.

21 years ago[PATCH] kNFSdv4: Fix bad error returm from svcauth_gss_accept
Andrew Morton [Sat, 17 Apr 2004 10:25:42 +0000 (03:25 -0700)]
[PATCH] kNFSdv4: Fix bad error returm from svcauth_gss_accept

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Error return when the client supplies a bad service should be badcred.

21 years ago[PATCH] kNFSdv4: nfsd4_readdir fixes
Andrew Morton [Sat, 17 Apr 2004 10:25:31 +0000 (03:25 -0700)]
[PATCH] kNFSdv4: nfsd4_readdir fixes

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Fix out-of-spec errors in nfs4 readdir.  Add checks for bad cookie values.

(plus compile fix from akpm)

21 years ago[PATCH] dm: Use an EMIT macro in the status function.
Andrew Morton [Sat, 17 Apr 2004 10:25:21 +0000 (03:25 -0700)]
[PATCH] dm: Use an EMIT macro in the status function.

From: Kevin Corry <kevcorry@us.ibm.com>

Striped: Use an EMIT macro in the status function.

21 years ago[PATCH] dm: avoid ioctl buffer overrun
Andrew Morton [Sat, 17 Apr 2004 10:25:10 +0000 (03:25 -0700)]
[PATCH] dm: avoid ioctl buffer overrun

From: Kevin Corry <kevcorry@us.ibm.com>

dm-ioctl.c::retrieve_status(): Prevent overrunning the ioctl buffer by making
sure we don't call the target status routine with a buffer size limit of
zero.  [Kevin Corry, Alasdair Kergon]

21 years ago[PATCH] dm: fix a comment
Andrew Morton [Sat, 17 Apr 2004 10:24:54 +0000 (03:24 -0700)]
[PATCH] dm: fix a comment

From: Kevin Corry <kevcorry@us.ibm.com>

Clarify the comment regarding the "next" field in struct dm_target_spec.  The
"next" field has different behavior if you're performing a DM_TABLE_STATUS
command than it does if you're performing a DM_TABLE_LOAD command.

See populate_table() and retrieve_status() in drivers/md/dm-ioctl.c for more
details on how this field is used.

21 years ago[PATCH] dm: Correctly align the dm_target_spec structures during retrieve_status().
Andrew Morton [Sat, 17 Apr 2004 10:24:39 +0000 (03:24 -0700)]
[PATCH] dm: Correctly align the dm_target_spec structures during retrieve_status().

From: Kevin Corry <kevcorry@us.ibm.com>

Correctly align the dm_target_spec structures during retrieve_status().

21 years ago[PATCH] dm: Log an error if the target has unknown target type, or zero length.
Andrew Morton [Sat, 17 Apr 2004 10:24:28 +0000 (03:24 -0700)]
[PATCH] dm: Log an error if the target has unknown target type, or zero length.

From: Kevin Corry <kevcorry@us.ibm.com>

Log an error if the target has unknown target type, or zero length.

21 years ago[PATCH] dm: Use wake_up() rather than wake_up_interruptible()
Andrew Morton [Sat, 17 Apr 2004 10:24:16 +0000 (03:24 -0700)]
[PATCH] dm: Use wake_up() rather than wake_up_interruptible()

From: Kevin Corry <kevcorry@us.ibm.com>

dm.c: Use wake_up() rather than wake_up_interruptible() with the eventq.

21 years ago[PATCH] dm: Handle interrupts within suspend.
Andrew Morton [Sat, 17 Apr 2004 10:24:04 +0000 (03:24 -0700)]
[PATCH] dm: Handle interrupts within suspend.

From: Kevin Corry <kevcorry@us.ibm.com>

Handle interrupts within suspend.

21 years ago[PATCH] dm: Check the uptodate flag in sub-bios to see if there was an error.
Andrew Morton [Sat, 17 Apr 2004 10:23:52 +0000 (03:23 -0700)]
[PATCH] dm: Check the uptodate flag in sub-bios to see if there was an error.

From: Kevin Corry <kevcorry@us.ibm.com>

Check the uptodate flag in sub-bios to see if there was an error.  [Mike
Christie]

21 years ago[PATCH] dm: Fix 64/32 bit ioctl problems.
Andrew Morton [Sat, 17 Apr 2004 10:23:39 +0000 (03:23 -0700)]
[PATCH] dm: Fix 64/32 bit ioctl problems.

From: Kevin Corry <kevcorry@us.ibm.com>

Fix 64/32 bit ioctl problems.

21 years ago[PATCH] Fix exec in multithreaded application
Petr Vandrovec [Sat, 17 Apr 2004 10:08:23 +0000 (03:08 -0700)]
[PATCH] Fix exec in multithreaded application

The recent controlling terminal changes broke exec from multithreaded
application because de_thread was not upgraded to new arrangement.  I
know that I should not have LD_PRELOAD library which automatically
creates one thread, but it looked like a cool solution to the problem I
had.

de_thread must initialize the controlling terminal information in the
new thread group.

21 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Fri, 16 Apr 2004 15:50:51 +0000 (08:50 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[IPV6]: Fix esp6.c typo in LIMIT_NETDEBUG changes.
David S. Miller [Fri, 16 Apr 2004 15:29:09 +0000 (08:29 -0700)]
[IPV6]: Fix esp6.c typo in LIMIT_NETDEBUG changes.

21 years agoMerge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux
Linus Torvalds [Fri, 16 Apr 2004 10:50:41 +0000 (03:50 -0700)]
Merge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoAdd sparse __safe annotation
Linus Torvalds [Fri, 16 Apr 2004 10:49:32 +0000 (03:49 -0700)]
Add sparse __safe annotation

21 years agoMake sock_no_{get|set}opt() use the proper __user annotation
Linus Torvalds [Fri, 16 Apr 2004 10:48:52 +0000 (03:48 -0700)]
Make sock_no_{get|set}opt() use the proper __user annotation

21 years ago[PATCH] Fix typo in the openpromfs remount patch
Marcel Holtmann [Fri, 16 Apr 2004 09:18:05 +0000 (02:18 -0700)]
[PATCH] Fix typo in the openpromfs remount patch

The just merged openpromfs remount patch contains a silly typo in the
field of the super_operations structure.

Fixed like this.

21 years agoMerge bk://gkernel.bkbits.net/misc-2.6
Linus Torvalds [Fri, 16 Apr 2004 09:17:28 +0000 (02:17 -0700)]
Merge bk://gkernel.bkbits.net/misc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Fri, 16 Apr 2004 09:16:31 +0000 (02:16 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Fri, 16 Apr 2004 09:15:36 +0000 (02:15 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] pcnet32 transmit performance fix
Don Fry [Fri, 16 Apr 2004 09:01:59 +0000 (05:01 -0400)]
[PATCH] pcnet32 transmit performance fix

When the pcnet32 adapter is installed in a system with long PCI latency
and the read burst bit is not set, performance on transmission is very
low (under 20Mbit on a 100Mbit link).  This patch against 2.6.6-rc1 will
make sure that read and write bursts are enabled.  Tested on ppc64 and
ia32.

21 years ago[netdrvr via-rhine] Fix MII phy scanning
Jeff Garzik [Fri, 16 Apr 2004 09:01:32 +0000 (05:01 -0400)]
[netdrvr via-rhine] Fix MII phy scanning

Noticed by Roger Luethi, via-rhine maintainer.

21 years ago[PATCH] amd8111e retval fix
Andrew Morton [Fri, 16 Apr 2004 08:59:08 +0000 (04:59 -0400)]
[PATCH] amd8111e retval fix

drivers/net/amd8111e.c: In function `amd8111e_vlan_rx':
drivers/net/amd8111e.c:677: warning: control reaches end of non-void function

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/misc
Jeff Garzik [Fri, 16 Apr 2004 08:55:41 +0000 (04:55 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.6

21 years ago[BRIDGE]: br_fdb.c needs init.h
David S. Miller [Fri, 16 Apr 2004 08:55:37 +0000 (01:55 -0700)]
[BRIDGE]: br_fdb.c needs init.h

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 16 Apr 2004 08:14:24 +0000 (01:14 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Add __user address space identifiers for sparse.
Russell King [Fri, 16 Apr 2004 23:09:02 +0000 (00:09 +0100)]
[ARM] Add __user address space identifiers for sparse.

21 years ago[ARM] Update mach-types file.
Russell King [Fri, 16 Apr 2004 23:02:08 +0000 (00:02 +0100)]
[ARM] Update mach-types file.

21 years ago[ARM] Remove needless export of __do_softirq()
Russell King [Fri, 16 Apr 2004 22:54:40 +0000 (23:54 +0100)]
[ARM] Remove needless export of __do_softirq()

21 years ago[ARM] Add --no-undefined to linker command line.
Russell King [Fri, 16 Apr 2004 16:27:18 +0000 (17:27 +0100)]
[ARM] Add --no-undefined to linker command line.

Many binutils versions over the last year appear to silently build
assembler files with undefined constants, and able to successfully
create executables from such files.  The assembler appears to add
undefined symbols to the symbol table without any corresponding
relocation information.  Obviously this is bad news since the
resulting executable may not be what the programmer intended.
Work around the problem by forcing the linker to fail if there are
any undefined symbols in the final object(s).

21 years agoMerge master.kernel.org:/home/davem/BK/tg3-2.6
Linus Torvalds [Fri, 16 Apr 2004 08:05:17 +0000 (01:05 -0700)]
Merge master.kernel.org:/home/davem/BK/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Fix mprotect bogus check.
Dave Jones [Fri, 16 Apr 2004 08:03:33 +0000 (01:03 -0700)]
[PATCH] Fix mprotect bogus check.

If we want to trap NULL vma's, we'd better be sure
that we don't dereference it first..

21 years ago[PATCH] Fix edd driver dereferencing before pointer checks.
Dave Jones [Fri, 16 Apr 2004 08:03:20 +0000 (01:03 -0700)]
[PATCH] Fix edd driver dereferencing before pointer checks.

Lots of occurences of the same bug..

21 years ago[PATCH] ide-probe.c: SanDisk is flash
Bartlomiej Zolnierkiewicz [Fri, 16 Apr 2004 08:03:09 +0000 (01:03 -0700)]
[PATCH] ide-probe.c: SanDisk is flash

From: Meelis Roos <mroos@linux.ee>

This is self-explanatory - former SunDisk renamed itself to SanDisk and
now there are flash disks with both names.

21 years ago[NET]: Fix lapbether bad scheduling while atomic.
Stephen Hemminger [Fri, 16 Apr 2004 07:59:31 +0000 (00:59 -0700)]
[NET]: Fix lapbether bad scheduling while atomic.

Bring up/down network devices with lapbether causes scheduling while
atomic (if preempt enabled).

The calls to rcu_read_lock are unnecessary since lapb_device_event
is called from notifier with the rtnetlink semaphore held, it is
already protected from the labp_devices list changing.

21 years ago[IPV6]: Fix OOPS in udp6 with extension headers using ancillary data.
Noriaki Takamiya [Fri, 16 Apr 2004 07:53:50 +0000 (00:53 -0700)]
[IPV6]: Fix OOPS in udp6 with extension headers using ancillary data.

21 years ago[IPV6]: Fix IPSEC AH typo.
Masahide Nakamura [Fri, 16 Apr 2004 07:52:22 +0000 (00:52 -0700)]
[IPV6]: Fix IPSEC AH typo.

21 years ago[IPV6]: Use IANA icmpv6 type for MLDv2 report.
Hideaki Yoshifuji [Fri, 16 Apr 2004 07:51:15 +0000 (00:51 -0700)]
[IPV6]: Use IANA icmpv6 type for MLDv2 report.

21 years ago[IRDA]: Replace sleep_on with wait_event
Jean Tourrilhes [Fri, 16 Apr 2004 07:50:17 +0000 (00:50 -0700)]
[IRDA]: Replace sleep_on with wait_event

From Stephen Hemminger.

21 years ago[IRDA]: irlan_eth cleanup.
Jean Tourrilhes [Fri, 16 Apr 2004 07:49:46 +0000 (00:49 -0700)]
[IRDA]: irlan_eth cleanup.

Use IrTTP flow control to stop/wake netif
  From Stephen Hemminger.
Change irlan_eth device initialization:
*bug* address never set in DIRECT mode because access not set
      in alloc_netdev -> irlan_eth_setup path
+ make eth_XXX handles static and provide alloc_irlandev hook
+ use netdev_priv (and get rid of truly impossible ASSERT's)
+ use skb_queue_purge

21 years ago[IRDA]: irlan_common cleanup.
Jean Tourrilhes [Fri, 16 Apr 2004 07:48:29 +0000 (00:48 -0700)]
[IRDA]: irlan_common cleanup.

Minor type changes in irlan_common for clarity:
- use const
- init and exit can be static
- use skb_queue_purge to flush queue
- get rid of noisy old comment

From Stephen Hemminger.

21 years ago[IRDA]: Rename handle_filter_request to irlan_filter_request.
Jean Tourrilhes [Fri, 16 Apr 2004 07:47:38 +0000 (00:47 -0700)]
[IRDA]: Rename handle_filter_request to irlan_filter_request.

From Stephen Hemminger.

21 years ago[IRDA]: Fix namespace pollution of print_ret_code.
Jean Tourrilhes [Fri, 16 Apr 2004 07:47:03 +0000 (00:47 -0700)]
[IRDA]: Fix namespace pollution of print_ret_code.

From Stephen Hemminger.

21 years ago[IRDA]: Get rid of local CRC table in donauboe.
Jean Tourrilhes [Fri, 16 Apr 2004 07:46:32 +0000 (00:46 -0700)]
[IRDA]: Get rid of local CRC table in donauboe.

From Stephen Hemminger.

21 years ago[IRDA]: Fix handling of RD:RSP to be spec compliant
Jean Tourrilhes [Fri, 16 Apr 2004 07:45:58 +0000 (00:45 -0700)]
[IRDA]: Fix handling of RD:RSP to be spec compliant

From Martin Diehl.

21 years ago[IRDA]: Convert vlsi_ir /proc/driver to seq_file.
Jean Tourrilhes [Fri, 16 Apr 2004 07:45:26 +0000 (00:45 -0700)]
[IRDA]: Convert vlsi_ir /proc/driver to seq_file.

From Stephen Hemminger.

21 years ago[PATCH] remount: mount flags filtering
Alexander Viro [Fri, 16 Apr 2004 07:27:54 +0000 (00:27 -0700)]
[PATCH] remount: mount flags filtering

 - we could pass MS_ACTIVE in mount flags and it would be passed into
   ->get_sb(), leading to interesting failure modes.  This flag is only
   for internal use (it's set once fill_super is complete and reset
   before the inode eviction on umount); made sure that we never get
   tricked into having it set it too early.

21 years ago[PATCH] remount: forced-nodiratime filesystems
Alexander Viro [Fri, 16 Apr 2004 07:27:41 +0000 (00:27 -0700)]
[PATCH] remount: forced-nodiratime filesystems

 - a bunch of filesystems force MS_NODIRATIME on mount but forgot to do
   the same on remount.  Fixed.