From d2d6a4f86bcbd81a2ed7776cc31ffa39e10749ef Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Tue, 2 Apr 2002 01:16:17 -0800 Subject: [PATCH] conditional system call cleanup This version of sys_nfsservctl() fix hadn't made DaveM complain. --- kernel/sysctl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'kernel/sysctl.c') diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 64dca468d417..b05d4fedf448 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -284,8 +284,6 @@ static ctl_table fs_table[] = { 0444, NULL, &proc_dointvec}, {FS_MAXFILE, "file-max", &files_stat.max_files, sizeof(int), 0644, NULL, &proc_dointvec}, - {FS_NRDQUOT, "dquot-nr", &nr_dquots, 2*sizeof(int), - 0444, NULL, &proc_dointvec}, {FS_DENTRY, "dentry-state", &dentry_stat, 6*sizeof(int), 0444, NULL, &proc_dointvec}, {FS_OVERFLOWUID, "overflowuid", &fs_overflowuid, sizeof(int), 0644, NULL, -- cgit v1.2.3 From 79a4c5837abbe59bec0d46c0dfcd30873f6886c6 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 2 Apr 2002 19:22:39 -0800 Subject: [PATCH] Various typo fixes. Mostly harmless but 1-2 break compilation. --- Documentation/Changes | 4 ++-- Documentation/SubmittingDrivers | 2 +- drivers/block/nbd.c | 2 +- drivers/char/stallion.c | 2 +- drivers/mtd/ftl.c | 2 +- drivers/usb/storage/transport.h | 2 +- fs/hpfs/super.c | 2 +- include/linux/device.h | 2 +- include/linux/securebits.h | 2 +- kernel/sysctl.c | 6 +++--- net/netrom/af_netrom.c | 2 +- sound/core/rtctimer.c | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) (limited to 'kernel/sysctl.c') diff --git a/Documentation/Changes b/Documentation/Changes index 8d7aea65706e..ab5ebd28aea4 100644 --- a/Documentation/Changes +++ b/Documentation/Changes @@ -107,8 +107,8 @@ assembling the 16-bit boot code, removing the need for as86 to compile your kernel. This change does, however, mean that you need a recent release of binutils. -System utililities -================== +System utilities +================ Architectural changes --------------------- diff --git a/Documentation/SubmittingDrivers b/Documentation/SubmittingDrivers index 4588d36af9f9..72574d485c24 100644 --- a/Documentation/SubmittingDrivers +++ b/Documentation/SubmittingDrivers @@ -3,7 +3,7 @@ Submitting Drivers For The Linux Kernel This document is intended to explain how to submit device drivers to the Linux 2.2 and 2.4 kernel trees. Note that if you are interested in video -card drivers you should probably talk to XFree86 (http://wwww.xfree86.org) +card drivers you should probably talk to XFree86 (http://www.xfree86.org) instead. Also read the Documentation/SubmittingPatches document. diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index b13f0a88baaf..ff6805fc8a02 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -327,7 +327,7 @@ static void do_nbd_request(request_queue_t * q) req = CURRENT; #ifdef PARANOIA if (!req) - FAIL("que not empty but no request?"); + FAIL("queue not empty but no request?"); #endif dev = minor(req->rq_dev); #ifdef PARANOIA diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index 80a73a1de70e..db06f5ad2b10 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c @@ -2458,7 +2458,7 @@ static inline int stl_initeio(stlbrd_t *brdp) } /* - * We have verfied that the board is actually present, so now we + * We have verified that the board is actually present, so now we * can complete the setup. */ diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 1fc63d360def..54279e418665 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c @@ -1369,7 +1369,7 @@ static void __exit cleanup_ftl(void) unregister_blkdev(FTL_MAJOR, "ftl"); blk_cleanup_queue(BLK_DEFAULT_QUEUE(FTL_MAJOR)); - bklk_clear(FTL_MAJOR); + blk_clear(FTL_MAJOR); del_gendisk(&ftl_gendisk); } diff --git a/drivers/usb/storage/transport.h b/drivers/usb/storage/transport.h index a991bd2d9240..2dc2ac1a3e0a 100644 --- a/drivers/usb/storage/transport.h +++ b/drivers/usb/storage/transport.h @@ -112,7 +112,7 @@ struct bulk_cs_wrap { #define US_BULK_GET_MAX_LUN 0xfe /* - * us_bulk_transfer() return codes + * usb_stor_transfer() return codes */ #define US_BULK_TRANSFER_GOOD 0 /* good transfer */ #define US_BULK_TRANSFER_SHORT 1 /* transfered less than expected */ diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index 3fc140ea1c18..31ecf9befba2 100644 --- a/fs/hpfs/super.c +++ b/fs/hpfs/super.c @@ -3,7 +3,7 @@ * * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999 * - * mouning, unmounting, error handling + * mounting, unmounting, error handling */ #include diff --git a/include/linux/device.h b/include/linux/device.h index f8234fdff19f..585dd1e57f8b 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -83,7 +83,7 @@ struct device { device */ void *driver_data; /* data private to the driver */ void *platform_data; /* Platform specific data (e.g. ACPI, - BIOS data relevant to device */ + BIOS data relevant to device) */ u32 current_state; /* Current operating state. In ACPI-speak, this is D0-D3, D0 diff --git a/include/linux/securebits.h b/include/linux/securebits.h index 1e10badcbdba..5b0617840fa4 100644 --- a/include/linux/securebits.h +++ b/include/linux/securebits.h @@ -6,7 +6,7 @@ extern unsigned securebits; /* When set UID 0 has no special privileges. When unset, we support - inheritance of root-permissions and suid-root executablew under + inheritance of root-permissions and suid-root executable under compatibility mode. We raise the effective and inheritable bitmasks *of the executable file* if the effective uid of the new process is 0. If the real uid is 0, we raise the inheritable bitmask of the diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b05d4fedf448..66ccb010e1e5 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -474,11 +474,11 @@ int do_sysctl_strategy (ctl_table *table, } /** - * register_sysctl_table - register a sysctl heirarchy + * register_sysctl_table - register a sysctl hierarchy * @table: the top-level table structure * @insert_at_head: whether the entry should be inserted in front or at the end * - * Register a sysctl table heirarchy. @table should be a filled in ctl_table + * Register a sysctl table hierarchy. @table should be a filled in ctl_table * array. An entry with a ctl_name of 0 terminates the table. * * The members of the &ctl_table structure are used as follows: @@ -562,7 +562,7 @@ struct ctl_table_header *register_sysctl_table(ctl_table * table, } /** - * unregister_sysctl_table - unregister a sysctl table heirarchy + * unregister_sysctl_table - unregister a sysctl table hierarchy * @header: the header returned from register_sysctl_table * * Unregisters the sysctl table and all children. proc entries may not diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index 65b59754b62e..1e16ce36c12f 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c @@ -29,7 +29,7 @@ * NET/ROM 006 Alan(GW4PTS) Brought in line with the ANK changes * Jonathan(G4KLX) Removed hdrincl. * NET/ROM 007 Jonathan(G4KLX) New timer architecture. - * Impmented Idle timer. + * Implemented Idle timer. * Arnaldo C. Melo s/suser/capable/, micro cleanups */ diff --git a/sound/core/rtctimer.c b/sound/core/rtctimer.c index 68e4f7cb6587..bf25b44ce47a 100644 --- a/sound/core/rtctimer.c +++ b/sound/core/rtctimer.c @@ -52,7 +52,7 @@ static int rtctimer_stop(snd_timer_t *t); /* - * The hardware dependent description for this timer. + * The hardware dependant description for this timer. */ static struct _snd_timer_hardware rtc_hw = { flags: SNDRV_TIMER_HW_FIRST|SNDRV_TIMER_HW_AUTO, -- cgit v1.2.3