]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] scsi_debug version 1.74
Douglas Gilbert [Fri, 10 Sep 2004 09:05:12 +0000 (05:05 -0400)]
[PATCH] scsi_debug version 1.74

To check descriptor format sense data handling we need a source.
Clean up some other problems and improve support for st.

Changes:
   - add 'dsense' option to generate descriptor sense data
     format (default still fixed format)
   - correct unit attention generation (only INQUIRY, REQUEST_SENSE
     and REPORT_LUNS ignore it)
   - better information sent to log in "noisy" mode (i.e. opts=1)
   - correct and expand standard INQUIRY response, include version
     descriptors
   - filter MODE_SENSE command so that subpage!=0 generates error
   - add REWIND (SSC) command support (NOP)

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years ago[PATCH] update NCR5380 comments
Christoph Hellwig [Fri, 10 Sep 2004 09:03:48 +0000 (05:03 -0400)]
[PATCH] update NCR5380 comments

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years ago[PATCH] Add BLIST_INQUIRY_36 to all USB blacklist entries
Alan Stern [Fri, 10 Sep 2004 09:01:18 +0000 (05:01 -0400)]
[PATCH] Add BLIST_INQUIRY_36 to all USB blacklist entries

This patch adds the BLIST_INQUIRY_36 flag to all the SCSI blacklist
entries for USB devices.  While it may not be strictly necessary for all
of them, it doesn't hurt: Since the usb-storage driver doesn't use any of
the INQUIRY data after the first 36 bytes, there's no reason to try
reading any more of it.  And some devices crash when we try to read more,
even though they advertise that more bytes are available.  The usb-storage
driver does try to set the flag automatically, but the blacklist entries
override that setting.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years ago[PATCH] aic79xx hostraid support
Arjan van de Ven [Fri, 10 Sep 2004 08:31:59 +0000 (04:31 -0400)]
[PATCH] aic79xx hostraid support

Patch ported to 2.6.8 by John A. Hull (john_hull@dell.com) to add
support for the aic79xx hostraid family support.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
since AHD_HOSTRAID_BOARD wasn't actually used... a more minimal patch:

22 years agoFix up UDF merge error
Linus Torvalds [Thu, 9 Sep 2004 05:04:41 +0000 (22:04 -0700)]
Fix up UDF merge error

Andries made a declaration static, and this clashed with Al who
changed it for byteorder annotation. Fix it all up.

22 years ago[PATCH] udf endianness annotations
Alexander Viro [Thu, 9 Sep 2004 04:49:50 +0000 (21:49 -0700)]
[PATCH] udf endianness annotations

That one was slightly messier than ext2 - several data structures had
been used both in little-endian (on-disk) and host-endian (in-core)
situations.  They had to be split, the rest was trivial annotations.

Gets UDF sparse-clean with -Wbitwise.  Note that here we just annotate -
bug fixes from the original version of that patch had already been
merged.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] affs endianness annotations
Alexander Viro [Thu, 9 Sep 2004 03:35:38 +0000 (20:35 -0700)]
[PATCH] affs endianness annotations

AFFS partially annotated - some fields of on-disk structures are never
used and while I'm reasonably sure that they ought to be big-endian, I'd
rather leave them alone for now; annotating them won't change the amount
of noise since nothing in the kernel ever accesses them.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] adfs endianness annotations
Alexander Viro [Thu, 9 Sep 2004 03:35:26 +0000 (20:35 -0700)]
[PATCH] adfs endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ext2 endianness annotations
Alexander Viro [Thu, 9 Sep 2004 03:35:13 +0000 (20:35 -0700)]
[PATCH] ext2 endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] beginning of endianness annotations
Alexander Viro [Thu, 9 Sep 2004 03:35:01 +0000 (20:35 -0700)]
[PATCH] beginning of endianness annotations

This adds the types and annotates conversion functions.  I've converted
the ...p() versions to inlines; AFAICS, everything's still happy...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix highmem bouncing leaking pages
Jens Axboe [Thu, 9 Sep 2004 03:34:49 +0000 (20:34 -0700)]
[PATCH] fix highmem bouncing leaking pages

In highmem end_io handling, we need to iterate over the completed bio
from 0, not bio->bi_idx. If not we leak N-1 pages for any bio with N
pages where N > 1.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Thu, 9 Sep 2004 03:25:03 +0000 (20:25 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Thu, 9 Sep 2004 09:09:54 +0000 (02:09 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[TCP]: Fix tcp_set_skb_tso_factor() calcs.
David S. Miller [Thu, 9 Sep 2004 01:51:44 +0000 (18:51 -0700)]
[TCP]: Fix tcp_set_skb_tso_factor() calcs.

We divide by the wrong MSS.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TCP]: Do not export tcp_transmit_skb().
David S. Miller [Thu, 9 Sep 2004 01:37:36 +0000 (18:37 -0700)]
[TCP]: Do not export tcp_transmit_skb().

Unused outside of tcp_output.c

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PATCH] Fix mark_buffer_dirty_inode locking breakage
Anton Blanchard [Thu, 9 Sep 2004 00:32:49 +0000 (17:32 -0700)]
[PATCH] Fix mark_buffer_dirty_inode locking breakage

Looks like a bug in the cleanup patch :)

From: Andrew Morton <akpm@osdl.org>

Shows how many people are testing ext2.  Let's fix up that whitespace
also.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.9
Linus Torvalds [Thu, 9 Sep 2004 00:23:30 +0000 (17:23 -0700)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.9
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/Linus
Tony Luck [Wed, 8 Sep 2004 22:34:37 +0000 (22:34 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/Linus
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Wed, 8 Sep 2004 21:51:30 +0000 (14:51 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/trivial
Tony Luck [Wed, 8 Sep 2004 20:12:34 +0000 (20:12 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/trivial
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] acpi.c: export pm_power_off for use by ipmi_poweroff module.
Andreas Schwab [Wed, 8 Sep 2004 20:11:45 +0000 (20:11 +0000)]
[IA64] acpi.c: export pm_power_off for use by ipmi_poweroff module.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/trivial
Tony Luck [Wed, 8 Sep 2004 20:05:21 +0000 (20:05 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/trivial
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] discontig.c: reset counters every iteration each node in show_mem().
Akinobu Mita [Wed, 8 Sep 2004 19:14:07 +0000 (19:14 +0000)]
[IA64] discontig.c: reset counters every iteration each node in show_mem().

On multi-node ia64 system, SysRq-M seems to dump wrong memory info.
(Since I don't have such a large machine, I don't confirm it)
It should reset counters every iteration each node in show_mem().
Jesse Barnes: "This looks good".

Signed-off-by: Akinobu Mita <mita@yacht.ocn.ne.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] pci.c: assign parent to the ROM resource
Matthew Wilcox [Wed, 8 Sep 2004 19:03:14 +0000 (19:03 +0000)]
[IA64] pci.c: assign parent to the ROM resource

Jon Smirl's patch to export roms via sysfs exposes a bug in the ia64
PCI code; we're not assigning a parent to the ROM resource. Patch
supplied by Matthew Wilcox

Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] minmax-removal in simserial.c, unwind.c
Maximilian Attems [Wed, 8 Sep 2004 18:56:02 +0000 (18:56 +0000)]
[IA64] minmax-removal in simserial.c, unwind.c

Patch (against 2.6.8.1) removes unnecessary min/max macros and changes
calls to use kernel.h macros instead.

Signed-off-by: Michael Veeck <michael.veeck@gmx.net>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] irq.c: Kill warning about variables which are unused in UP kernels.
David Mosberger [Wed, 8 Sep 2004 18:47:07 +0000 (18:47 +0000)]
[IA64] irq.c: Kill warning about variables which are unused in UP kernels.

Signed-off-by: davidm@hpl.hp.com
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IPV6]: Handle ECN correctly in ip6ip6 tunnels.
Herbert Xu [Wed, 8 Sep 2004 14:22:03 +0000 (07:22 -0700)]
[IPV6]: Handle ECN correctly in ip6ip6 tunnels.

This patch adds ECN encapsulation/decapsulation to ip6_tunnel.c.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPSEC]: Fix ECN encapsulation on ipv6.
Herbert Xu [Wed, 8 Sep 2004 14:19:49 +0000 (07:19 -0700)]
[IPSEC]: Fix ECN encapsulation on ipv6.

While doing the ECN patch I discovered that IPsec on IPv6 wasn't
encapsulating the ECN correctly.  This patch fixes that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Simplify IP_ECN_set_ce.
Herbert Xu [Wed, 8 Sep 2004 14:16:38 +0000 (07:16 -0700)]
[IPV4]: Simplify IP_ECN_set_ce.

Optimize away a branch and clean up the logic.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[VLAN]: Fix thinko in RCU locking.
David S. Miller [Wed, 8 Sep 2004 14:07:49 +0000 (07:07 -0700)]
[VLAN]: Fix thinko in RCU locking.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PATCH] ide: sgiioc4 driver needs /proc/ide entries
Bartlomiej Zolnierkiewicz [Wed, 8 Sep 2004 11:07:27 +0000 (04:07 -0700)]
[PATCH] ide: sgiioc4 driver needs /proc/ide entries

Add create_proc_ide_interfaces() call to sgiioc4_ide_setup_pci_device()
so /proc/ide gets populated properly.

Signed-off-by: Erik Jacobson <erikj@sgi.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[IPV4]: Fix DHCPACK checking in ipconfig.c
Peter Buckingham [Wed, 8 Sep 2004 10:38:20 +0000 (03:38 -0700)]
[IPV4]: Fix DHCPACK checking in ipconfig.c

Signed-off-by: Peter Buckingham <peter@pantasys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 8 Sep 2004 08:41:16 +0000 (01:41 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] SN2 build fix, take two
Tony Luck [Wed, 8 Sep 2004 07:52:20 +0000 (00:52 -0700)]
[PATCH] SN2 build fix, take two

I want to change my vote :-) The problem isn't a spurious extra "#else"
(which Paul's patch removed) ...  it is a missing "#endif"

Here's a patch that puts the #else back, adds the #endif, and fixes the
whitespace to make this nested mess of pre-processor noise a bit more
legible.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[TCP]: Fix some typos.
Baruch Even [Wed, 8 Sep 2004 06:41:45 +0000 (23:41 -0700)]
[TCP]: Fix some typos.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: Kill SCM_CONNECT, never used and unreferenced.
David S. Miller [Wed, 8 Sep 2004 06:40:36 +0000 (23:40 -0700)]
[NET]: Kill SCM_CONNECT, never used and unreferenced.

Noticed by Ulrich Drepper

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV6]: Remove secure_ipv6_id, unused.
Christoph Hellwig [Wed, 8 Sep 2004 06:39:10 +0000 (23:39 -0700)]
[IPV6]: Remove secure_ipv6_id, unused.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4/IPV6]: Update ECN handling.
Herbert Xu [Wed, 8 Sep 2004 06:38:11 +0000 (23:38 -0700)]
[IPV4/IPV6]: Update ECN handling.

This patch brings the IP ECN handling up-to-date with repsect to
RFC 3168.  Mostly this means treating ECT(1) in the same way as
ECT(0).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[E1000]: Add LLTX support.
Andi Kleen [Wed, 8 Sep 2004 06:36:12 +0000 (23:36 -0700)]
[E1000]: Add LLTX support.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Add LLTX support.
Andi Kleen [Wed, 8 Sep 2004 06:35:01 +0000 (23:35 -0700)]
[TG3]: Add LLTX support.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: NETIF_F_LLTX for devices
Andi Kleen [Wed, 8 Sep 2004 06:32:57 +0000 (23:32 -0700)]
[NET]: NETIF_F_LLTX for devices

New version of the NETIF_F_LLTX for network devices patch.

This allows network drivers to set the NETIF_F_LLTX flag
and then do their own locking in start_queue_xmit.
This lowers locking overhead in this critical path.

The drivers can use try lock if they want and return -1
when the lock wasn't grabbed. In this case the packet
will be requeued. For better compatibility this is only
done for drivers with LLTX set, others don't give a special
meaning to -1.

Most of the modern drivers who have a lock around hard_start_xmit
can just set this flag. It may be a good idea to convert the spin
lock there to a try lock. The only thing that should be audited
is that they do enough locking in the set_multicast_list function
too, and not also rely on xmit_lock here.

Now doesn't move any code around and does things with gotos instead.

The loop printk is also still there even for NETIF_F_LLTX

For drivers that don't set the new flag nothing changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4/IPV6]: More fragment handling improvements.
Hideaki Yoshifuji [Wed, 8 Sep 2004 06:23:00 +0000 (23:23 -0700)]
[IPV4/IPV6]: More fragment handling improvements.

Here's the optimization: if we know the remaining data exceeds the
mtu, we do not need to fill up full of it.

skb_prev:
                mtu
+----------+--+-+
|          |  | |
+----------+--+-+
           ^  ^
skb_prev->len |
              maxfraglen

appending data:
           +--------+
           |        |
           +--------+
           --------->
                  length

In this case, we know we need more fragment(s).
So, let's fill up to maxfraglen (instead of mtu)
to avoid needless copy in the next loop.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[BRIDGE]: Fix length checking in ipv6 bridge filtering.
Bart De Schuymer [Wed, 8 Sep 2004 06:21:09 +0000 (23:21 -0700)]
[BRIDGE]: Fix length checking in ipv6 bridge filtering.

Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Wed, 8 Sep 2004 05:19:17 +0000 (22:19 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[PATCH] add static in ufs
Andries E. Brouwer [Wed, 8 Sep 2004 01:01:59 +0000 (18:01 -0700)]
[PATCH] add static in ufs

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] add static in udf
Andries E. Brouwer [Wed, 8 Sep 2004 01:01:47 +0000 (18:01 -0700)]
[PATCH] add static in udf

udf_filead_read() and udf_get_fileextent() are unused.
Here they are put inside #if 0 .. #endif

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] add static in efs
Andries E. Brouwer [Wed, 8 Sep 2004 01:01:35 +0000 (18:01 -0700)]
[PATCH] add static in efs

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] add static in autofs4
Andries E. Brouwer [Wed, 8 Sep 2004 01:01:24 +0000 (18:01 -0700)]
[PATCH] add static in autofs4

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] RCU documentation
Paul E. McKenney [Wed, 8 Sep 2004 01:01:13 +0000 (18:01 -0700)]
[PATCH] RCU documentation

Signed-off-by: <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix typos in Documentation/sysctl and Documentation/filesystems/proc.txt
Olaf Hering [Wed, 8 Sep 2004 01:01:01 +0000 (18:01 -0700)]
[PATCH] fix typos in Documentation/sysctl and Documentation/filesystems/proc.txt

Alpha is AXP.
hostname and domainname does not need redirection.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Missing static in buffer.c
Christoph Hellwig [Wed, 8 Sep 2004 01:00:51 +0000 (18:00 -0700)]
[PATCH] Missing static in buffer.c

The exports were for reiserfs in 2.4, but reiserfs doesn't need them
anymore.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove drivers/char/busmouse.[ch]
Christoph Hellwig [Wed, 8 Sep 2004 01:00:40 +0000 (18:00 -0700)]
[PATCH] remove drivers/char/busmouse.[ch]

Doesn't even appear in Makefile and Kconfig anymore.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Work around gcc 3.5 offsetof bug
Andi Kleen [Wed, 8 Sep 2004 01:00:28 +0000 (18:00 -0700)]
[PATCH] Work around gcc 3.5 offsetof bug

Current gcc 3.5 doesn't compile a x86-64 kernel, because it doesn't
recognize the offsetof used in asm-offset.c to be constant.

Use __builtin_offsetof for this instead.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] don't mention MOD_{INC,DEC}_USE_COUNT in Documentation/
Christoph Hellwig [Wed, 8 Sep 2004 01:00:17 +0000 (18:00 -0700)]
[PATCH] don't mention MOD_{INC,DEC}_USE_COUNT in Documentation/

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove MOD_{INC,DEC}_USE_COUNT users that got back in
Christoph Hellwig [Wed, 8 Sep 2004 01:00:05 +0000 (18:00 -0700)]
[PATCH] remove MOD_{INC,DEC}_USE_COUNT users that got back in

the ibm_emac_mal.c one is in exported function, so useless, the other
two are stale decrements.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix address_space.i_mmap comment
Christoph Hellwig [Wed, 8 Sep 2004 00:59:54 +0000 (17:59 -0700)]
[PATCH] fix address_space.i_mmap comment

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: Correct the failure path in start_io_thread
Paolo \'Blaisorblade\' Giarrusso [Wed, 8 Sep 2004 00:59:42 +0000 (17:59 -0700)]
[PATCH] uml: Correct the failure path in start_io_thread

Correct the failure path in start_io_thread(), to return the correct error
code.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: Avoid forcing use of the no-op scheduler
Paolo \'Blaisorblade\' Giarrusso [Wed, 8 Sep 2004 00:59:31 +0000 (17:59 -0700)]
[PATCH] uml: Avoid forcing use of the no-op scheduler

Avoid forcing use of the no-op scheduler for UBD; this may uncover some
bugs in the UBD driver, and in fact uml-ubd-no-empty-queue.patch is needed
to make this sure.  But as of now, no other bugs have been discovered, so
this should be safe.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: avoid using elv_queue_empty
Paolo \'Blaisorblade\' Giarrusso [Wed, 8 Sep 2004 00:59:20 +0000 (17:59 -0700)]
[PATCH] uml: avoid using elv_queue_empty

Avoid using, in the UBD driver, the elv_queue_empty function.  It's for the
block layer only; in fact, the Anticipatory Scheduler can return NULL with
elv_next_request() even if the queue is not empty, because it waits for the
process to send another request before seeking on the disk.

In fact, if (with uml-ubd-any-elevator) we let UBD use any scheduler,
elevator=as will make the UBD driver Oops, if we don't have this patch.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] add static in befs
Andries E. Brouwer [Wed, 8 Sep 2004 00:59:08 +0000 (17:59 -0700)]
[PATCH] add static in befs

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] add static in afs
Andries E. Brouwer [Wed, 8 Sep 2004 00:58:57 +0000 (17:58 -0700)]
[PATCH] add static in afs

The routine afs_rxvl_probe() is unused and could be removed.  (I only put
#if 0 around it.)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] add static in affs
Andries E. Brouwer [Wed, 8 Sep 2004 00:58:47 +0000 (17:58 -0700)]
[PATCH] add static in affs

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ia32: tsc synchronisation cleanup
Ingo Molnar [Wed, 8 Sep 2004 00:58:35 +0000 (17:58 -0700)]
[PATCH] ia32: tsc synchronisation cleanup

Clean up the TSC-synchronization code: get rid of div64 and calm down the
printks.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] isofs: add static
Andries E. Brouwer [Wed, 8 Sep 2004 00:58:24 +0000 (17:58 -0700)]
[PATCH] isofs: add static

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] adfs: add static
Andries E. Brouwer [Wed, 8 Sep 2004 00:58:13 +0000 (17:58 -0700)]
[PATCH] adfs: add static

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] synclink.c kernel janitor changes
Paul Fulghum [Wed, 8 Sep 2004 00:58:01 +0000 (17:58 -0700)]
[PATCH] synclink.c kernel janitor changes

Uses msecs_to_jiffies() instead of the custom jiffies_from_ms().

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cdu31a.c build fix
Adrian Bunk [Wed, 8 Sep 2004 00:57:49 +0000 (17:57 -0700)]
[PATCH] cdu31a.c build fix

drivers/cdrom/cdu31a.c: In function `do_sony_cd_cmd':
drivers/cdrom/cdu31a.c:962: parse error before `:'

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Speed up oprofile buffer drain code
Anton Blanchard [Wed, 8 Sep 2004 00:57:38 +0000 (17:57 -0700)]
[PATCH] Speed up oprofile buffer drain code

I noticed a large machine was doing about 400,000 context switches per
second when oprofile was enabled.  Upon closer inspection it looks like we
were rearming the buffer sync timer without modifying the expire time.

Now that we have schedule_delayed_work_on I believe we can remove the timer
completely.  Each cpu should be offset by 1 jiffy so they dont all fire at
the same time.  I bumped DEFAULT_TIMER_EXPIRE from 2 to 10 times a second
to be sure we reap cpu buffers.

With the following patch the same large machine gets about 4000 context
switches per second.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix oprofile vfree warning on error
Anton Blanchard [Wed, 8 Sep 2004 00:57:26 +0000 (17:57 -0700)]
[PATCH] fix oprofile vfree warning on error

On error we can call __free_cpu_buffers with only some buffers allocated.
I was getting a bunch of vfree warnings when I hit it, we should check
before calling vfree.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] use for_each_cpu in oprofile code
Anton Blanchard [Wed, 8 Sep 2004 00:57:15 +0000 (17:57 -0700)]
[PATCH] use for_each_cpu in oprofile code

Replace open coded versions with for_each_cpu()/for_each_online_cpu().

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] riscom8 build fix
Adrian Bunk [Wed, 8 Sep 2004 00:57:04 +0000 (17:57 -0700)]
[PATCH] riscom8 build fix

drivers/char/riscom8.c:1178: macro `min_t' used with only 2 args

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] AIO/DIO oops fix
Badari Pulavarty [Wed, 8 Sep 2004 00:56:52 +0000 (17:56 -0700)]
[PATCH] AIO/DIO oops fix

The problem here is, finished_one_bio() shouldn't call aio_complete() since
no work has been done.  I have a fix for this - can you verify this ?  I am
not really comfortable with this "tweaking".  (I am not really sure about
IO errors like EIO etc.  - if they can lead to calling aio_complete()
twice)

Fix is to call aio_complete() ONLY if there is something to report.  Note
the we don't update dio->result with any error codes from get_user_pages(),
they just passed as "ret" value from do_direct_IO().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] crypto: tea.c xtea_encrypt should use XTEA_DELTA
Thor Kooda [Wed, 8 Sep 2004 00:56:41 +0000 (17:56 -0700)]
[PATCH] crypto: tea.c xtea_encrypt should use XTEA_DELTA

xtea_encrypt() should use XTEA_DELTA instead of TEA_DELTA.

Signed-off-by: Thor Kooda <tkooda-patch-kernel@devsec.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] hpt366 ptr use before NULL check.
Dave Jones [Wed, 8 Sep 2004 00:56:30 +0000 (17:56 -0700)]
[PATCH] hpt366 ptr use before NULL check.

This pointer is used prior to a test for NULL.  But Bart says it can never
be NULL.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remove bogus memset from cpqfc driver
Dave Jones [Wed, 8 Sep 2004 00:56:19 +0000 (17:56 -0700)]
[PATCH] Remove bogus memset from cpqfc driver

Not that this driver compiles, but coverity picked up this nonsense.  If
the pci_alloc_consistent fails, we go boom.  Amusingly, after the ==NULL
check, is an identical memset.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fbdev: Add module_init() and fb_get_options() per driver
Antonino Daplas [Wed, 8 Sep 2004 00:56:07 +0000 (17:56 -0700)]
[PATCH] fbdev: Add module_init() and fb_get_options() per driver

This adds module_init(xxxfb_init) in all drivers.  For drivers with
xxxfb_setup(), this patch also adds a
'xxxfb_setup(fb_get_options("xxxfb"))' prior to initialization.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fbdev: Clean up framebuffer initialization
Antonino Daplas [Wed, 8 Sep 2004 00:55:54 +0000 (17:55 -0700)]
[PATCH] fbdev: Clean up framebuffer initialization

This patch probably deserves discussion among developers.

Currently, the framebuffer system is initialized in a roundabout manner.
First, drivers/char/mem.c calls fbmem_init().  fbmem_init() will then
iterate over an array of individual drivers' xxxfb_init(), then each driver
registers its presence back to fbmem.  During console_init(),
drivers/char/vt.c will call fb_console_init().  fbcon will check for
registered drivers, and if any are present, will call take_over_console()
in drivers/char/vt.c.

This patch changes the initialization sequence so it proceeds in this
manner: Each driver has its own module_init().  Each driver calls
register_framebuffer() in fbmem.c.  fbmem.c will then notify fbcon of the
driver registration.  Upon notification, fbcon calls take_over_console() in
vt.c.

The following are the changes brought about by this patch:

- Each subsystem (fbcon, fbmem, xxxfb) will have their own module_init.
  Thus, explicit calls to each subsystem's init functions are eliminated.

- The struct fb_drivers array in fbmem.c can be removed.  This slashes
  around 400 lines in fbmem.c

- Parsing of kernel boot options were done by fbmem.c calling each
  driver's xxxfb_setup() function.  Because this is not possible with this
  patch, drivers can choose to either:

  - have their own __setup() routine

  - call fb_get_options("xxxfb") and pass the return value to
    xxxfb_setup().  This is to maintain compatibility with the
    'video=xxxfb:<options>' semantics.

- Getting a framebuffer console will occur a bit late during the boot
  process since the initialization sequence will depend upon the link
  order.  So, 'video/' is moved up in drivers/Makefile, shortly after
  'pci/'

- Because driver initialization will be dependent on the link order,
  hardware that depends on other subsystems (agpgart, usb, serial, etc) may
  choose to initialize after the subsystems they depend on.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fbcon: take over console on driver registration
Antonino Daplas [Wed, 8 Sep 2004 00:55:42 +0000 (17:55 -0700)]
[PATCH] fbcon: take over console on driver registration

- This fixes another regression from 2.4.  If fbcon is compiled
  statically, and the framebuffer driver is compiled as a module, doing a
  'modprobe xxxfb' does nothing to the console.  This has generated
  numerous bug reports from users.

  With this patch, fbmem will notify fbcon upon driver registration
  allowing fbcon to take over the console.

- This also fixes con2fbmap not working if fbcon is compiled as a module
  using the same mechanism as described above.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fbdev: PPC crash and other fixes for rivafb
Antonino Daplas [Wed, 8 Sep 2004 00:55:31 +0000 (17:55 -0700)]
[PATCH] fbdev: PPC crash and other fixes for rivafb

- Fixed rivafb crashing in PPC.  rivafb in PPC requires full, instead of
  partial, hardware initialization in rivafb_set_par().

- Added untested support for NV_ARCH_30 chipsets.

- From Guido Guenther <agx@sigxcpu.org>
     here's another short patch fixing the cursor colors on big endian.

- From Guido Guenther <agx@sigxcpu.org>
     trivial: strictmode is a MODULE_PARAM, even if CONFIG_MTRR is not set:

Signed-off-by: Guido Guenther <agx@sigxcpu.org>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fbdev: Speed up scrolling of tdfxfb
Antonino Daplas [Wed, 8 Sep 2004 00:55:19 +0000 (17:55 -0700)]
[PATCH] fbdev: Speed up scrolling of tdfxfb

This patch speeds up scrolling of tdfxfb by maximizing var->yres_virtual so
tdfxfb uses SCROLL_PAN_MOVE instead of SCROLL_REDRAW.  This is true whether
CONFIG_FB_3DFX_ACCEL is set or not.  This problem was reported by Paolo
Ornati <ornati@fastwebnet.it> who also made substantial contributions to
solve this problem.

This patch also fixes compile errors when CONFIG_FB_3DFX_ACCEL is false.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ext3 dreference of sb preceeds check.
Dave Jones [Wed, 8 Sep 2004 00:55:07 +0000 (17:55 -0700)]
[PATCH] ext3 dreference of sb preceeds check.

This looks awry.  Move the dereference to after we have checked sb is
non-NULL.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: Switch arch/ppc/boot to lib/zlib_inflate
Tom Rini [Wed, 8 Sep 2004 00:54:56 +0000 (17:54 -0700)]
[PATCH] ppc32: Switch arch/ppc/boot to lib/zlib_inflate

The following patch switches arch/ppc/boot over from using its own version
of zlib to the code found under lib/zlib_inflate.  In conjunction with the
previous two patches, the size of the resulting images isn't noticably
different.  But this does have the advantage of removing another copy of
zlib from the kernel, and I believe this allows for lib/inflate.c to go
away (as that's basically what ppc used to use).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] zlib_inflate: Make zlib_inflate_trees_fixed(...) generate the table
Tom Rini [Wed, 8 Sep 2004 00:54:44 +0000 (17:54 -0700)]
[PATCH] zlib_inflate: Make zlib_inflate_trees_fixed(...) generate the table

The following changes zlib_inflate_trees_fixed(...) from using a statically
defined table, to generating this table.  This cuts out 4-8kB from
inftrees.o (4kB on IBM 440GP, 8kB on PPC 74xx).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] zlib_inflate: Move zlib_inflateSync & friends
Tom Rini [Wed, 8 Sep 2004 00:54:33 +0000 (17:54 -0700)]
[PATCH] zlib_inflate: Move zlib_inflateSync & friends

The following patch moves zlib_inflateSync and friends, which are used by
PPP and not a 'normal' gzip, into inflate_sync.c.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: lcs multicast deadlock
Martin Schwidefsky [Wed, 8 Sep 2004 00:54:21 +0000 (17:54 -0700)]
[PATCH] s390: lcs multicast deadlock

From: Thomas Spatzier <tspat@de.ibm.com>

lcs network driver changes:
 - Fix deadlock on card->ipm_lock.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: packed stack vs. cpu hotplug.
Martin Schwidefsky [Wed, 8 Sep 2004 00:54:09 +0000 (17:54 -0700)]
[PATCH] s390: packed stack vs. cpu hotplug.

The different stack frame layout for packed stacks broke cpu hotplug.
Recreate the initial stack frame of the idle thread for offline cpus coming
back online.  Reenable interrupts after loading the initial registers.  In
addition this patch contains two more bug fixes: a typo for 64 bit
(__SMALL_STACK_SIZE vs.  __SMALL_STACK) and show_trace didn't show a trace
if for task == NULL.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: minmax-removal arch/s390/kernel/debug.c
Martin Schwidefsky [Wed, 8 Sep 2004 00:53:57 +0000 (17:53 -0700)]
[PATCH] s390: minmax-removal arch/s390/kernel/debug.c

Removes unnecessary min/max macros and changes calls to use kernel.h macros
instead.

Signed-off-by: Michael Veeck <michael.veeck@gmx.net>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: export copy_in_user
Bastian Blank [Wed, 8 Sep 2004 00:53:46 +0000 (17:53 -0700)]
[PATCH] s390: export copy_in_user

The attached patch exports __copy_in_user_asm for s390.  It is used in xfs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove ext2_panic()
Andrew Morton [Wed, 8 Sep 2004 00:53:35 +0000 (17:53 -0700)]
[PATCH] remove ext2_panic()

It has no callers.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remove in-kernel init_module/cleanup_module stubs
Brian Gerst [Wed, 8 Sep 2004 00:53:23 +0000 (17:53 -0700)]
[PATCH] Remove in-kernel init_module/cleanup_module stubs

This patch removes the default stubs for init_module and cleanup_module,
and checks for NULL instead.  It changes modpost to only create references
to those functions if they actually exist.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: remove redundant initialization in nfsd4_lockt
Neil Brown [Wed, 8 Sep 2004 00:53:11 +0000 (17:53 -0700)]
[PATCH] knfsd: remove redundant initialization in nfsd4_lockt

No need to set fl_owner and fl_pid to 0, since that's already been done by
locks_init_lock.

Signed-off-by: Andy Adamson <andros@umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: nfsd4: store current->tgid instead of lockowner hash in fl_pid
Neil Brown [Wed, 8 Sep 2004 00:53:00 +0000 (17:53 -0700)]
[PATCH] knfsd: nfsd4: store current->tgid instead of lockowner hash in fl_pid

The file_lock.fl_pid is no longer used in posix_same_owner() tests.  So just
set it to current->tgid for informational purposes.

Signed-off-by: Andy Adamson <andros@umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: nfsd4: postpone release of stateowner on CLOSE
Neil Brown [Wed, 8 Sep 2004 00:52:48 +0000 (17:52 -0700)]
[PATCH] knfsd: nfsd4: postpone release of stateowner on CLOSE

Postpone the release of a stateowner on CLOSE for lease time to enable the
CLOSE replay cache.  Place stateowner on the close_lru list to be reaped by
the laundromat service.

Signed-off-by: Andy Adamson <andros@umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: nfsd4 could leak a stateid in an error path
Neil Brown [Wed, 8 Sep 2004 00:52:37 +0000 (17:52 -0700)]
[PATCH] knfsd: nfsd4 could leak a stateid in an error path

nfsd4 could leak a stateid in a case of kmalloc failure; fix.

Signed-off-by: Andy Adamson <andros@umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: trivial cleanup of nfs4state.c
Neil Brown [Wed, 8 Sep 2004 00:52:26 +0000 (17:52 -0700)]
[PATCH] knfsd: trivial cleanup of nfs4state.c

Whitespace cleanup, fix one dprintk, remove superfluous casts of NULL.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: nfsd4: Support acl_support attribute
Neil Brown [Wed, 8 Sep 2004 00:52:14 +0000 (17:52 -0700)]
[PATCH] knfsd: nfsd4: Support acl_support attribute

The nfs4 attributes supported_attrs and aclsupport should not be static; they
need to depend on the exported filesystem's acl support.  Test the latter by
attempting to get an acl, and adjust the returned attributes apropriately.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: fix incorrect indentation in fh_verify
Neil Brown [Wed, 8 Sep 2004 00:52:03 +0000 (17:52 -0700)]
[PATCH] knfsd: fix incorrect indentation in fh_verify

fix incorrect indentation in fh_verify

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: return EACCES instead of ESTALE for certain filehandle lookup failures
Neil Brown [Wed, 8 Sep 2004 00:51:52 +0000 (17:51 -0700)]
[PATCH] knfsd: return EACCES instead of ESTALE for certain filehandle lookup failures

As 'nfs_acceptable' uses the authnetication user in it's checks, the
filehandle might not be truely "stale" - EACCES is safer.

Thanks Olaf Kirch <okir@suse.de> and others.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: calls to break_lease in nfsd should be O_NONBLOCKing
Neil Brown [Wed, 8 Sep 2004 00:51:40 +0000 (17:51 -0700)]
[PATCH] knfsd: calls to break_lease in nfsd should be O_NONBLOCKing

If we would block, we return "err-jukebox" for nfsv3, or just drop the request
for v2.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] md: correct "working_disk" counts for raid5 and raid6
Neil Brown [Wed, 8 Sep 2004 00:51:28 +0000 (17:51 -0700)]
[PATCH] md: correct "working_disk" counts for raid5 and raid6

This error only affects two message (and sysadmin heart-rate).  It does not
risk data.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>