- 04 Jul, 2002 7 commits
-
-
Alexander Viro authored
* a bunch of callers of partition_name() are calling bdev_partition_name(), * the last users of raid1 and multipath ->dev are gone; so are the fields in question.
-
Alexander Viro authored
* ->diskop() split into individual methods; prototypes cleaned up. In particular, handling of hot_add_disk() gets mdk_rdev_t * of the component we are adding as an argument instead of playing the games with major/minor. Code cleaned up.
-
Alexander Viro authored
* ->error_handler() switched to struct block_device *. * md_sync_acct() switched to struct block_device *. * raid5 struct disk_info ->dev is gone - we use ->bdev everywhere. * bunch of kdev_same() when we have corresponding struct block_device * and can simply compare them is removed from drivers/md/*.c
-
Alexander Viro authored
* since the last caller of is_read_only() is gone, the function itself is removed. * destroy_buffers() is not used anymore; gone. * fsync_dev() is gone; the only user is (broken) lvm.c and first step in fixing lvm.c will consist of propagating struct block_device * anyway; at that point we'll just use fsync_bdev() in there. * prototype of bio_ioctl() removed - function doesn't exist anymore.
-
Alexander Viro authored
* Bunch of functions in cdrom.c used to get kdev_t and use it only to do cdrom_find_device(dev), even though their callers already had struct cdrom_device_info * in question. Switched to passing said pointer directly. * useless exports removed; stuff not used outside of cdrom.c made static.
-
Alexander Viro authored
* calc_dev_sboffset() and calc_dev_size() in md.c are getting mk_rdev_t instead of kdev_t. Callers updated. * calls of blkdev_size_in_bytes() in md.c replaced with use of rdev->bdev->bd_inode->i_size.
-
Alexander Viro authored
* devpts "upcalls" eliminated. * instead of playing games with revalidation we simply use ramfs-style tree and kill dentries upon devpts_pty_kill(). That allows to get rid of a lot of code in fs/devpts/*.c. * devpts_fs.h cleaned up. * devpts/root.c and devpts/devpts_i.h removed. * array of pointers to devpts inodes killed; with ramfs-style tree it's not needed anymore. * devpts/inode.c cleaned up. * devpts_pty_new() used to get mk_kdev() only to convert it to dev_t (hardly a surprise, since it's mknod() in disguise). Now it gets dev_t as an argument.
-
- 20 Jun, 2002 33 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Andi Kleen authored
The last changes did trigger another latent bug in the inline assembly. akpm noticed it because he compiles his kernels with frame pointers.
-
http://gkernel.bkbits.net/irda-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jens Axboe authored
Uninline elv_next_request() and move it to elevator.c, where it belongs. Because of CURRENT declaration, this actually saves lots of space. From Andrew.
-
Robert Kuebel authored
init_rootfs() (from ramfs) doesn't appear in any header file. I didn't see any that looked like a good home, so lets put a prototype at the top of fs/namespace.c. This only use of this function is in namespace.c.
-
Robert Kuebel authored
This patch makes sure the 3c509 module license is always GPL. Currently the MODULE_LICENSE() marco is only used when CONFIG_ISAPNP or CONFIG_ISAPNP_MODULE is defined. I have moved MODULE_LICENSE() to the #ifdef MODULE section at the bottom of 3c509.c. Same is true for the MODULE_DEVICE_TABLE() macro.
-
William Lee Irwin III authored
Not sure why I forgot to do this, but here is a small bit of tidying up of some leftover parentheses from the memlist macro removal. The parentheses are just noise and should go.
-
William Lee Irwin III authored
page_alloc.c does not use either slab.h or swapctl.h. This removes the inclusion of those headers from page_alloc.c
-
William Lee Irwin III authored
nr_free_pages() is overly verbose. The following is perhaps clearer and gets to the point with fewer lines of code and inside of 80 columns.
-
William Lee Irwin III authored
-
William Lee Irwin III authored
-
Stephen Rothwell authored
14 of our 17 architectures define sys_pause exactly the same way. The other three don't define it at all. I assume glibc translates pause() into sigsuspend() or something.
-
Rusty Russell authored
In favour of those now in kernel.h..
-
Rusty Russell authored
-
James Mayer authored
-
James Mayer authored
-
James Mayer authored
-
Greg Banks authored
Three arch-determining symbols in drivers/mtd/maps/Config.in are wrong. They have apparently been generated using the sensible pattern "CONFIG_FOO" for an architecture "foo"; unfortunately the architectures are not sensible. CONFIG_SPARC should be CONFIG_SPARC32 CONFIG_I386 should be CONFIG_X86 CONFIG_SH should be CONFIG_SUPERH
-
Greg Banks authored
Removed a spurious menu definition which was both a duplicate and had no matching "endmenu".
-
Greg Banks authored
Removed an "endmenu" for which there was no opening "mainmenu_option".
-
Greg Banks authored
The config language is *not* shell. The construct "[ foo ] || [ bar ]" is legal in shell but not in the config language, where we should use the equivalent "[ foo -o bar ]"
-
Greg Banks authored
The format for the "choice" statement is: choice 'prompt' "{sub-prompt sub-symbol}*" default-value and the following is *not* legal config language (note the positioning of the closing double quote): choice 'prompt' "{sub-prompt sub-symbol}* default-value" It only happens to work because of a combination of accidental side effects of the current parsers: * unpaired sub-words inside the 2nd word are silently ignored * the missing last word is silently treated as if empty
-
Greg Banks authored
Two symbols used in drivers/net/wan/Config.in are misspelled. CONFIG_PPP_MULTLINK should be CONFIG_PPP_MULTILINK CONFIG_PPP_SYNCTTY should be CONFIG_PPP_SYNC_TTY
-
Greg Banks authored
1/2 definitions of CONFIG_PC_KEYB have trivially different banners.
-
Greg Banks authored
1/3 definitions of CONFIG_PARPORT_1284 have trivially different banners.
-
Greg Banks authored
1/2 definitions of CONFIG_NUMA have trivially different banners.
-
Greg Banks authored
1/16 definitions of CONFIG_NETDEVICES have trivially different banners.
-
Greg Banks authored
1/3 definitions of CONFIG_MODVERSIONS have trivially different banners.
-
Greg Banks authored
1/11 definitions of CONFIG_HOTPLUG have trivially different banners.
-
Greg Banks authored
2/10 definitions of CONFIG_CD_NO_IDESCSI have trivially different banners.
-
Greg Banks authored
1/3 definitions of 64-bit CONFIG_BINFMT_ELF have trivially different banners. 1/3 definitions of CONFIG_BINFMT_ELF32 have trivially different banners.
-
Greg Banks authored
1/17 definitions of CONFIG_SCSI have trivially different banners.
-