- 18 Feb, 2002 7 commits
-
-
Neil Brown authored
Tidyup init/exit for nfsd module move nfsd_init into an initcall with other module startup. This means that "initialized" isn't needed for any of the files that use it, as the bits are always initialised if in use.
-
Neil Brown authored
Cleanup the syscall interface to nfsd 1/ add an "owner" field to the nfsd_linkage structure 2/ grab a reference to that module before calling the syscall 3/ Remove the reference counting from inside the module 4/ Always allow nfsd module to be called, even if compile with CONFIG_NFSD == N ( but not if CONFIG_MODULES also == N)
-
Neil Brown authored
Use MKDEV for making device number from components This patch is thanks to GOTO Masanori <gotom@debian.or.jp>
-
Neil Brown authored
Tidy up some vfs calls in nfsd 1/ changes to sys_fsync had not also been made to nfsd_sync. Now nfsd_sync calls filemap_fdatasync and filemap_fdatawait. 2/ change nfsd_readdir to use vfs_readdir instead of i_op->readdir
-
Neil Brown authored
Get nfsd_setattr to not put too much weight on inode_change_ok nfsd_currently calls inode_change_ok and does not try setattr if this fails. However this is wrong. If a filesystem defines it's own i_op->setattr, then it might use a completely different mechanisim for determining what is ok. nfsd shouldn't assume... We still use inode_change_ok when normalising NFSv2 "touch" requests, but only in passing.
-
Neil Brown authored
Stop fat_fh_to_dentry returning NULL the fh_to_dentry routines should never return NULL. The caller expects an ERR_PTR or a valid (possibly negative) dentry. fat did the wrong thing and so could oops.
-
Neil Brown authored
Fix bugs recently introduced into kNFSd When searching a list.h list, we cannot export to find NULL at the end. Instead we return a pointer when found, or NULL if nothing found. Same bug, 4 times. The seq_file improvements to /proc/fs/nfs/exports got the counting wrong so that some clients would get reported twice, always the last.
-
- 13 Feb, 2002 25 commits
-
-
Andi Kleen authored
fs/proc/inode.c is using __init, but for some reason missing an #include <linux/init.h>. Add this.
-
Andi Kleen authored
Add Andi Kleen as x86-64 maintainer.
-
Andi Kleen authored
This adds the x86_64 arch and asm directories and a Documentation/x86_64. It took a bit longer because I first had to make preemption and thread_info work and also found some other bugs while doing this. The port has been tested for a long time on UP. I'm not sure what I should describe. A lot is based on i386 with a lot of cleanups. I wrote a paper about it for last year's OLS that describes most of the changes (ftp://ftp.firstfloor.org/pub/ak/x86_64.ps.gz). It is a bit outdated now, but should give a good overview. It currently has a completely cut'n'pasted from others+hacked 32bit emulation. I hope to clean that up in the future by merging the generic core of this with other 64bit archs. Thanks, -Andi
-
Andi Kleen authored
Just an gcc 3.1 warning fix. It now warns about __FUNCTION__ string concatenation. Also remove the check because it does not seem to trigger ever. -Andi
-
Linus Torvalds authored
-
Linus Torvalds authored
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
for the definition of unlikely().
-
Paul Mackerras authored
The patch below changes access_process_vm to use a new architecture hook, flush_icache_user_range, instead of flush_icache_page, and adds a definition of flush_icache_user_range which does the same thing as flush_icache_page for all architectures except PPC. (The PPC update that is in Linus' BK tree already includes a suitable definition of flush_icache_user_range.) The reason for doing this is that when flush_icache_page is called from do_no_page or do_swap_page, I want to be able to do the flush conditionally, based on the state of the page. In contrast, access_process_vm needs to do the flush unconditionally since it has just modified the page. In the access_process_vm case it is useful to have the information about the user address and length that have been modified since then we can just flush the affected cache lines rather than the whole page. This patch should make it easy to improve performance on alpha, since there (as I understand it) the icache flush is not needed at all in do_no_page or do_swap_page, but is needed in access_process_vm. All that is needed is to make flush_icache_page a noop on alpha. The patch below doesn't do this, I'll let the alpha maintainers push that change if they want.
-
Paul Mackerras authored
This patch fixes a compile error on PPC. It's in sd_find_target, a function that returns a kdev_t.
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Michael Elizabeth Chastain authored
This one-liner fixes an error case in Menuconfig when awk fails. Written by Andrew Church (achurch@achurch.org). Reviewed and tested by Michael Elizabeth Chastain (mec@shout.net). Michael Elizabeth Chastain ===
-
Linus Torvalds authored
-
Steven Cole authored
Add help texts for CONFIG_PCMCIA_AXNET and CONFIG_PCMCIA_XIRCOM
-
http://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jaroslav Kysela authored
Integrate ALSA into v2.5.4 Jaroslav
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Ingo Molnar authored
-
Ingo Molnar authored
condition, we test the preemption count in preempt_schedule(). This reduces the icache footprint and the overhead of preemption. - plus optimize the irq-path preemption check a bit.
-
Ingo Molnar authored
this is a fragile piece of the ptrace code, the code relies on a single wakeup coming from the parent. This fix is necessery after the preempt_schedule() cleanups, it unbreaks 'strace strace ...'.
-
Ingo Molnar authored
fixes a preemption race that was introduced by my removal of PREEMPT_ACTIVE.
-
Jeff Garzik authored
into hostme.bitkeeper.com:/ua/repos/g/gkernel/net-drivers-2.5
-
Jeff Garzik authored
into hostme.bitkeeper.com:/ua/repos/g/gkernel/misc-2.5
-
- 12 Feb, 2002 8 commits
-
-
Ingo Molnar authored
- the PREEMPT_ACTIVE trick is not needed - schedule() should check for need_resched, we might miss a reschedule otherwise. the cleanup also fixes the bug. The only reason why i kept preempt_schedule() was to fix up p->state to TASK_RUNNING, to make it possible to preempt from places that mark the task TASK_UNINTERRUPTIBLE before adding the task to a waitqueue, and thus a preemption in that small window could cause the task to be removed from the runqueue erroneously.
-
Ingo Molnar authored
-
Ingo Molnar authored
-
Martin Diehl authored
this is a patch to prevent usb_set_interface() from erroneously resetting the toggles for all endpoints instead of only the affected ones from the requested interface/altsetting. I've also added some missing parentheses to related macros in usb.h as I prefered not to take special care for nasty side-effects ;-) Patch below was created against 2.4.18-pre9 (with some lines of offset it applies to 2.5.4-pre5 as well). Tested in multi-interface configuration to provide evidence it: * correctly identifies the affected endpoints and resets the toggles * doesn't touch endpoints from other interfaces * provides correct handling of shared EP0 * solves an issue I had with 2.4.18-pre9 where setting one interface occasionally caused transfers on other interface to hang due to lost toggle synchronisation Despite being a pure bugfix, well localized and (IMHO) pretty obviously correct wrt. USB-spec, I'd like to suggest including this in early 2.4.19-pre. Just in case some existing driver would somehow workaround the currently wrong behavior and might break with this fix. And it's not very urgent right now, as we are probably close to 2.4.18-rc1. Regards, Martin
-
Vojtech Pavlik authored
- patch to fix bug where urbs were freed too soon.
-
Jeff Garzik authored
Contributor: Ed Vance @ Macrolink
-
Jeff Garzik authored
Contributor: Go Taniguchi
-
Jeff Garzik authored
into bmac and mace net drivers. Via Dave Jones.
-