- 18 Feb, 2002 4 commits
-
-
Alexander Viro authored
A bunch of places dereferences ->d_parent->d_inode with no protection whatsoever (e.g. on return from read()). It's an SMP race on all boxen and pretty wide UP race if we have dnotify set on parent (race between read() and rename() and similar beasts). Patch below is the first one in a series of ->d_parent-related fixes. It adds a helper (dnotify_parent(dentry, event)) and converts places that did inode_dir_notify(dentry->d_parent->d_inode,...) to it. Please, apply. Notice that problem exists in 2.4 and unlike 2.5 there we can't switch to saner API (basically, reporting file events on file, not on a parent directory). Some of the further fixes depend on Pat's and Greg's (driverfs and usbdevfs resp.) patches, so getting them merged would make life easier. And yes, some of further chunks (e.g. smbfs ->revalidate() and friends) will also have to go into 2.4 - they are independent from any threading projects ;-/
-
Alexander Viro authored
-
Robert Love authored
Ugh, another one. Linus, please apply. Robert Love
-
Robert Love authored
-
- 14 Feb, 2002 10 commits
-
-
Linus Torvalds authored
-
Alexander Viro authored
old_inode is locked by vfs_link().
-
Alexander Viro authored
BKL shifted into ->symlink() (+ fixes for {ramfs,shmem}_symlink())
-
Alexander Viro authored
BKL shifted into ->link(), check for S_ISDIR moved into vfs_link().
-
Alexander Viro authored
BKL shifted into ->rmdir()
-
Alexander Viro authored
BKL shifted into ->mkdir()
-
J. A. Magallon authored
This patch fixes a bug in the Linux process ID allocator. It isn't quite SMP safe since it references "last_pid" after releasing the lock protecting it. This can result in two processes getting assigned the same process ID.
-
Denis Oliver Kropp authored
this is the NeoMagic floating foint removal patch I posted previously for Linux 2.4.18-pre9-ac3. Best regards, Denis Oliver Kropp
-
http://linux-isdn.bkbits.net/linux-2.5.isdnLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5.isdn
-
- 13 Feb, 2002 26 commits
-
-
Nathan Scott authored
This final patch is a simple documentation fixup patch filling in the blanks for the extended attribute interfaces; and fixes a typo in the same spot: "permission". Nathan
-
Nathan Scott authored
This next incremental patch tidies up the data types passed back from the `list' and `get' extended attribute syscalls - these now match the design (ie. using ssize_t) rather than simply using long or int everywhere; also now use const types in the VFS interface, where appropriate. Nathan
-
Nathan Scott authored
This incremental patch fixes copying out of an extended attribute value or name list. Previously we copied out the entire buffer passed in from userspace, now we only copy out the size which the underlying filesystem tells us to (ie. we will no longer include potentialy-initialised data as well). Nathan
-
Nathan Scott authored
This first patch fixes the copying in of extended attribute names from userspace in the extended attribute syscalls (a problem found when using electric fence on the user tools). Nathan
-
Peter Samuelson authored
Obvious patch to make x86_64 pick up new sound location
-
bk://linuxusb.bkbits.net/linus-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
-
Greg Kroah-Hartman authored
This fixes usb drivers outside of the drivers/usb directory.
-
Greg Kroah-Hartman authored
Fixes drivers/usb/storage. Patch done by Oliver Neukum.
-
Greg Kroah-Hartman authored
This fixes the drivers in drivers/usb/serial. Patch done by Oliver Neukum.
-
Greg Kroah-Hartman authored
This modifies the drivers in drivers/usb. Patch done by Oliver Neukum.
-
Greg Kroah-Hartman authored
-
Oliver Neukum authored
- fix for memory leak.
-
Oliver Neukum authored
- special case for REQUEST_SENSE - reset handling won't work properly -> disabled - error reporting corrected
-
Paul Mackerras authored
The patch below fixes a compile problem in the USB OHCI HCD driver on powerbooks, namely that the ohci_hcd structure doesn't have an irq member. Paul.
-
Patrick Mochel authored
-
Linus Torvalds authored
-
Alexander Viro authored
Next one in the series - this time it's ->unlink()...
-
Alexander Viro authored
1) proc/<pid>/fd readdir() has broken locking - sometimes it ends up with task->files->file_lock locked. 2) missing variable definition in arch/s390x/kernel/linux32.c::cp_new_stat32(). Please, apply - the first one is really serious.
-
Alexander Viro authored
-
Alexander Viro authored
BKL held around ->i_nlink changes in ext2/namei.c. That makes namei.c SMP-safe (dir.c already is). BKL dropped around ext2_free_inode() - it's already SMP-safe (the only place that needed BKL was DQUOT_FREE_INODE() and it got BKL in the previous patch).
-
Alexander Viro authored
BKL shifted into ->create(). lock_kernel()/unlock_kernel() added in dquot_{alloc,free}_inode() - that makes {ext2,minix,sysv,ufs}_read_inode() SMP-safe.
-
Alexander Viro authored
ext2_read_inode() and ext2_update_inode() share large chunk of code - getting a buffer_head with raw inode in it. Moved into a helper function (ext2_get_inode()), the rest of ext2_{read,update}_inode() slightly cleaned up.
-
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
-