- 06 Feb, 2002 37 commits
-
-
Alexander Viro authored
converted ramfs/rootfs to ->get_sb(). Use get_sb_nodev() as helper.
-
Alexander Viro authored
converte usb to ->get_sb()
-
Alexander Viro authored
converte binfmt_misc to ->get_sb()
-
Alexander Viro authored
convert procfs to ->get_sb(). Similar to ext2, except that we use get_sb_single() instead of get_sb_bdev(). Notice the we _don't_ keep FS_SINGLE in flags - as the matter of fact, with ->get_sb() FS_SINGLE is useless.
-
Alexander Viro authored
ext2 switched to ->get_sb(). For that we had a) turned ext2_read_super() into ext2_fill_super() (instead of "return NULL if failed and sb if succeeded" it's "return error value or 0"). b) added ext2_get_sb(type, flags, dev, data) - all it does is return get_sb_bdev(type, flags, dev, data, ext2_fill_super); c) replaced DECLARE_...() with explicit initializer. That's it.
-
Alexander Viro authored
get_sb_bdev() et.al. get a new argument (fill_super) and become exported.
-
Alexander Viro authored
OK, here comes the long-promised switchover to ->get_sb(). New method added - ->get_sb(type, flags, dev, data). At this point we still keep ->read_super(), but it will go away in the end of series. ->get_sb() is a generalization of get_sb_{bdev,nodev,single}() - as the matter of fact, these will become common helpers used by filesystems in their ->get_sb().
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into athlon.transmeta.com:/home/torvalds/v2.5/linux
-
Greg Kroah-Hartman authored
into soap.kroah.net:/home/greg/linux/bk_main/usb-3
-
Greg Kroah-Hartman authored
into soap.kroah.net:/home/greg/linux/bk_main/usb-2
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Patch done by Oliver Neukum.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Some driver changes were done by Oliver Neukum and David Brownell.
-
Greg Kroah-Hartman authored
These changes have been approved by the CRIS maintainer.
-
Greg Kroah-Hartman authored
- add mem_flags support - portions of this patch by Oliver Neukum and David Brownell.
-
Greg Kroah-Hartman authored
- initial add of the "int mem_flags" call to the usb_submit_urb() call
-
Greg Kroah-Hartman authored
- Updates the documentation - Adds Veo Stingray support - Fixes hotplug table dependency upon now-defunct symbol - deletes drivers/usb/ibmcam.h
-
Greg Kroah-Hartman authored
- Code-Review from Oliver Neukum: remove SMP races. - Added some wake_up calls after auerbuf_releasebuf to wake up tasks waiting for cp buffers. - Change the module count handling to automatic (owner: THIS_MODULE).
-
Linus Torvalds authored
Al Viro: fix a typo (destory->destroy)
-
Hans Reiser authored
This is hopefully last bugfix for a bug introduced by struct inode splitting. Because of setting i_flags to some value and then cleaning the i_flags contents later, on-disk items received wrong item version ob v3.6 filesystems
-
Alexander Viro authored
Kudos to OGAWA Hirofumi for finding that one - gcc barfs on the current code, trying to define an alias to external symbol.
-
Alexander Viro authored
hpux_getdents() contains a years-old copy of code from fs/readdir.c. Switched to use of vfs_readdir(), which does correct locking.
-
Alexander Viro authored
Yet another flag/wait_queue pair bites the dust - hfs bitmap_{lock,wait} was trying to implement a semaphore.
-
Alexander Viro authored
Useless (lock,waitqueue) pair killed - we have fs-wide exclusion between renames enforced by VFS, so hfs rename_{lock,wait} can be removed.
-
Alexander Viro authored
Pair (flag, wait_queue) in hpfs replaced with semaphore.
-
Robert Love authored
The previous patch did not provide protection for device lseek methods (drivers/* stuff). This patch pushes the BKL into each of the remaining lseek methods -- without them we have a race. I'd much prefer to have a a better lock to push down than the BKL, but that will have to wait. Before you balk at the size, remember patch #2 in this series which removed much code ;-) Thanks to Al for assistance, especially a listing of affected files. Robert Love
-
Robert Love authored
This is the second patch of three implementing further llseek cleanups, against 2.5.4-pre1. It does not depend on the other patches. This patch cleans up various code and quite nicely removes much more code than it adds. Specifically: - remove static lseek method which merely reimplements the standard no_llseek in the following seven files: hci_vhci.c, ite8172.c, nec_vrc5477.c, auerswald.c, pipe.c, netlink_dev.c, and socket.c - remove fs/ufs/file.c::ufs_file_lseek -- Al says it is reimplementing generic_file_llseek, so let's use that instead (the comment about 32-bit sizes shouldn't be an issue, the generic method checks size) - include smp_lock.h in 3 files missed from previous 'remove bkl' patch - Documentation/filesystem/Locking update Please, apply. Robert Love
-
Robert Love authored
This is the first of three patches implementing further llseek cleanup, against 2.5.4-pre1. The 'push locking into llseek methods' patch was integrated into 2.5.3. The networking filesystems, however, do not protect i_size and can not rely on the inode semaphore used in generic_file_llseek. This patch implements a remote_llseek method, which is basically the pre-2.5.3 version of generic_file_llseek. Locking is done via the BKL. When we have a saner locking system in place, we can push it into this function in lieu. Ncpfs, nfs, and smbfs have been converted to use this new llseek. Note this is updated over the previous posted patch. Robert Love
-
Alexander Viro authored
ia64: switched from sys_new*stat() to vfs_*stat() and cleaned up.
-
Alexander Viro authored
solaris: switched from sys_new*stat() to vfs_*stat() and cleaned up. Missing LFS check added.
-
Alexander Viro authored
irix_...() switched from sys_new*stat() to vfs_*stat() and cleaned up. Missing LFS check added
-
Alexander Viro authored
stat(2) variants in arch/* that used to copy inode fields manually switched to vfs_*stat() and partially cleaned up
-
Alexander Viro authored
added new helpers - vfs_stat(), vfs_lstat() and vfs_fstat(). fs/stat.c switched to use them. Following patches will stat(2) variants in arch/* that used to copy inode fields manually switched to vfs_*stat() and partially cleaned up irix_...() switched from sys_new*stat() to vfs_*stat() and cleaned up. Missing LFS check added. similar for solaris ones ditto for x86 compatibility ones on ia64. We are almost ready to switch to ->getattr() - let filesystem decide what values should go into ->st_... (e.g. for CODA life would become much easier if it could just use ->i_size of caching file, for supermount we want ->i_ino inherited from underlying fs, etc.) Another thing that needs to be done is fixing the rest of LFS/uid size fsckups in architecture-specific variants of stat() - I've fixed several, but quite a few are still there.
-
Alexander Viro authored
procfs switched to alloc_inode/destroy_inode.
-
Alexander Viro authored
more inode->u trimming - socket_i is killed.
-
Dave McCracken authored
During the course of developing our pthread library (the NGPT pthread library) it became clear we needed some kernel support for handling signals. This patch helps the library by redirecting all signals sent to tasks in a thread group to the thread group leader. It also defines the tkill() system call so the library can signal a specific task if necessary. Given that as far as I know NGPT is the only user of thread groups, and that this change would benefit any other user of thread groups, I'm submitting this for inclusion in the 2.5 kernel. Note that this patch also adds support for sys_gettid() for the architectures that don't have it. While this could have been split into a spearate patch, it would create conflicts since this patch also adds sys_tkill(), so I felt it was cleaner to leave them together. Dave McCracken ====================================================================== Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059 dmccr@us.ibm.com T/L 678-3059
-
- 05 Feb, 2002 3 commits
-
-
Linus Torvalds authored
update
-
Linus Torvalds authored
Update version
-
Vojtech Pavlik authored
The patch moves: * joystick drivers from drivers/char/joystick to drivers/input/joystick * gameport drivers from drivers/char/joystick to drivers/input/gameport * serio drivers from drivers/char/joystick to drivers/input/serio I don't think the joystick drivers should stay in char, because they're NOT character device drivers (check for register_chrdev, none to be found). It also fixes build problems with sound driver gameport support.
-