- 11 Jun, 2002 14 commits
-
-
Alexander Viro authored
end_request(int) turned to end_request(req, int); all old callers are converted to end_request(CURRENT, value). Now we can start killing CURRENT/QUEUE - end_request() was the last obstacle to that.
-
Alexander Viro authored
ditto for DEVICE_INTR/CLEAR_INTR. do_mfm/do_acsi/do_hd/... are explicitly declared in the drivers that use DEVICE_INTR stuff; DEVICE_INTR/CLEAR_INTR is gone from blk.h.
-
Alexander Viro authored
#define DEVICE_NAME ... removed from the drivers that never use that macro.
-
Alexander Viro authored
monstrous cascade of #ifdefs is gone from blk.h. This is the first step of cleanup - we move #define in question into the code that includes blk.h (i.e. DEVICE_NR, DEVICE_NAME and DEVICE_INTR are explicitly set by drivers).
-
Alexander Viro authored
->s_dev is switched to dev_t. Everything that uses it uses it as a number - i.e. all instances are either minor() or kdev_t_to_nr().
-
Alexander Viro authored
->j_dev is gone from reiserfs journal. All its uses had been replaced with use of ->j_dev_bd; it's simply not used anymore.
-
Alexander Viro authored
get_super() split in two functions - get_super(bdev) and user_get_super(dev_t). Callers that used get_super() to get superblock by (dev_t) syscall argument switched to the latter; the rest had block_device in question and switched to passing it.
-
Alexander Viro authored
ROOT_DEV converted to dev_t. There's no reason for it to be kdev_t - it's both used as a number and set as a number.
-
Alexander Viro authored
do_getattr() renamed to vfs_getattr(), exported and used by loop.c and nfsd - both blindly accessed ->i_dev/->i_ino of random inodes when they ought to be calling ->getattr() to get that information.
-
Alexander Viro authored
misc gratitious kdev_t uses fixed (janitorial stuff - e.g. quota patches had reintroduced kdevname(sb->s_dev) in places where we'd switched to sb->s_id, etc.)
-
Alexander Viro authored
added bdev_read_only() - analog of is_read_only() using block_device. Almost all callers of is_read_only() converted.
-
Alexander Viro authored
sget()/generic_shutdown_super() cleaned up; fixed error handling in sget()
-
Alexander Viro authored
FS_NOMOUNT is gone, initialization for pseudo-filesystems (bdev, pipe, sock) switched to use of a common helper.
-
Alexander Viro authored
compile fixes (missing includes + obvious fix in adfs/map.c)
-
- 08 Jun, 2002 26 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Trond Myklebust authored
fs/nfs/dir.c: - Call nfs_renew_times() when we deliberately create a negative dentry. or rename a file.
-
Trond Myklebust authored
fs/nfs/inode.c: - Ensure that we initialize NFS_MTIME_UPDATE(inode). - If a directory's mtime changed due to some action on our part (file creation/deletion/...) don't force a dcache revalidation by changing NFS_MTIME_UPDATE(inode).
-
Linus Torvalds authored
-
Martin Schwidefsky authored
Fourth and last part of the s/390 update. Docu stuff.
-
Martin Schwidefsky authored
Third patch of the s/390 update. Everything from drivers/s390. This patch contains the main bunch of changes. Major changes are: 1) the restructured dasd driver, 2) the new tape driver, 3) the start of the common io layer rework, 4) the gpl'ed lcs driver and 5) the gpl'ed qdio layer
-
Martin Schwidefsky authored
Second patch of the s/390 update. Contains all the include file changes in include/asm-{s390,s390x}.
-
Martin Schwidefsky authored
This first patch contains the changes to arch/{s390,s390x}
-
Brian Gerst authored
resume_kernel uses CPU_IDX but never uses GET_CPU_IDX to get the index. This is an issue when smp and preemption are both enabled. I also removed the unused GET_CURRENT_CPU_IDX.
-
Petr Vandrovec authored
James introduced bad bug which causes NULL pointer dereference as soon as you'll try to use secondary head because of screen_base is not initialized (it is initialized on wrong head).
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Robert Love authored
Mike Kravetz pointed out that the set_cpus_allowed optimization he suggested has a small but possible race condition wherein the system could still be operating in the context of the task but it is not running. On top of this, the runqueue lock can be dropped in load_balance and thus we can race and set task->cpu at a very unpleasant time. My solution is to just remove the optimization.
-
Robert Love authored
Apparently my understanding of C brace rules was blurred and there is a thinko in kernel/capability.c - what we want is what the indention reflects but what we get is an unconditional return of -EINVAL.
-
http://linux-isdn.bkbits.net/linux-2.5.isdnLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Matthew Wilcox authored
Define the for_each_lock macro and start replacing ugly special for loops with it. Rejig the interface between sys_flock and flock_lock_file to always pass a struct file_lock rather than a command. Eliminate some gotos by simplifying the logic. Remove some redundant initialisation.
-
Tom Rini authored
Fixes for include file cleanups
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Tom Rini authored
This removes <linux/mm.h> from <linux/vmalloc.h>. This then goes and fixes all of the files (x86 and PPC) which relied on implicit includes which don't happen anymore. This also takes <linux/kdev_t.h> out of fs/mpage.c and puts it into include/linux/bio.h where it belongs since <linux/bio.h> references 'kdev_t' directly. A quick summary of the of the added includes: arch/i386/kernel/microcode.c: needs extern for num_physpages, in linux/mm.h include/linux/spinlock.h: local_irq* is defined in <asm/system.h> but this was never directly included.
-
Tom Rini authored
This moves the vmalloc wrappers from <linux/vmalloc.h> into mm/vmalloc.c. Doing this will later allow us to remove <linux/mm.h> from <linux/vmalloc.h>, along with some other #include fixups.
-
Matthew Wilcox authored
This patch removes the MSNFS defines. These locks have a wider purpose than emulating Microsoft NFS semantics.
-
Matthew Wilcox authored
This patch removes the annoying and confusing `wait' argument from many places. The only change in behaviour is that we now yield once when unblocking other BSD-style flocks instead of once for each lock. This slightly improves the semantics for userspace. Before, when we had two tasks waiting on a lock, the first one would receive the lock. Now, the one with the highest priority receives the lock.
-
bk://ldm.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://fbdev.bkbits.net:8080/fbdev-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-