Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix typos in doc and comments

Changes persistant -> persistent. www.dictionary.com does not know
persistant (with an A), but should it be one of those things you can
spell in more than one correct way, let me know.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>

authored by

Jan Engelhardt and committed by
Adrian Bunk
03a67a46 93e06b41

+11 -11
+1 -1
Documentation/Changes
··· 201 201 ---- 202 202 udev is a userspace application for populating /dev dynamically with 203 203 only entries for devices actually present. udev replaces the basic 204 - functionality of devfs, while allowing persistant device naming for 204 + functionality of devfs, while allowing persistent device naming for 205 205 devices. 206 206 207 207 FUSE
+1 -1
Documentation/power/states.txt
··· 62 62 inconvenience, this method requires minimal work by the kernel, since 63 63 the firmware will also handle restoring memory contents on resume. 64 64 65 - If the kernel is responsible for persistantly saving state, a mechanism 65 + If the kernel is responsible for persistently saving state, a mechanism 66 66 called 'swsusp' (Swap Suspend) is used to write memory contents to 67 67 free swap space. swsusp has some restrictive requirements, but should 68 68 work in most cases. Some, albeit outdated, documentation can be found
+1 -1
arch/um/drivers/chan_user.c
··· 120 120 /* These are synchronization calls between various UML threads on the 121 121 * host - since they are not different kernel threads, we cannot use 122 122 * kernel semaphores. We don't use SysV semaphores because they are 123 - * persistant. */ 123 + * persistent. */ 124 124 count = os_read_file(pipe_fd, &c, sizeof(c)); 125 125 if(count != sizeof(c)) 126 126 printk("winch_thread : failed to read synchronization byte, "
+1 -1
drivers/message/fusion/mptbase.c
··· 6185 6185 "Abort", /* 12h */ 6186 6186 "IO Not Yet Executed", /* 13h */ 6187 6187 "IO Executed", /* 14h */ 6188 - "Persistant Reservation Out Not Affiliation Owner", /* 15h */ 6188 + "Persistent Reservation Out Not Affiliation Owner", /* 15h */ 6189 6189 "Open Transmit DMA Abort", /* 16h */ 6190 6190 "IO Device Missing Delay Retry", /* 17h */ 6191 6191 NULL, /* 18h */
+1 -1
drivers/mtd/maps/cfi_flagadm.c
··· 80 80 .size = FLASH_PARTITION2_SIZE 81 81 }, 82 82 { 83 - .name = "Persistant storage", 83 + .name = "Persistent storage", 84 84 .offset = FLASH_PARTITION3_ADDR, 85 85 .size = FLASH_PARTITION3_SIZE 86 86 }
+1 -1
drivers/pci/Kconfig
··· 34 34 35 35 It is very unwise to use this option if you are not using a 36 36 boot process that can handle devices being created in any 37 - order. A program that can create persistant block and network 37 + order. A program that can create persistent block and network 38 38 device names (like udev) is a good idea if you wish to use 39 39 this option. 40 40
+1 -1
fs/Kconfig
··· 972 972 973 973 Some system agents rely on the information in sysfs to operate. 974 974 /sbin/hotplug uses device and object attributes in sysfs to assist in 975 - delegating policy decisions, like persistantly naming devices. 975 + delegating policy decisions, like persistently naming devices. 976 976 977 977 sysfs is currently used by the block subsystem to mount the root 978 978 partition. If sysfs is disabled you must specify the boot device on
+1 -1
fs/jfs/jfs_filsys.h
··· 81 81 #define JFS_SWAP_BYTES 0x00100000 /* running on big endian computer */ 82 82 83 83 /* Directory index */ 84 - #define JFS_DIR_INDEX 0x00200000 /* Persistant index for */ 84 + #define JFS_DIR_INDEX 0x00200000 /* Persistent index for */ 85 85 /* directory entries */ 86 86 87 87
+2 -2
include/linux/textsearch.h
··· 20 20 /** 21 21 * struct ts_state - search state 22 22 * @offset: offset for next match 23 - * @cb: control buffer, for persistant variables of get_next_block() 23 + * @cb: control buffer, for persistent variables of get_next_block() 24 24 */ 25 25 struct ts_state 26 26 { ··· 71 71 * Called repeatedly until 0 is returned. Must assign the 72 72 * head of the next block of data to &*dst and return the length 73 73 * of the block or 0 if at the end. consumed == 0 indicates 74 - * a new search. May store/read persistant values in state->cb. 74 + * a new search. May store/read persistent values in state->cb. 75 75 */ 76 76 unsigned int (*get_next_block)(unsigned int consumed, 77 77 const u8 **dst,
+1 -1
lib/textsearch.c
··· 40 40 * configuration according to the specified parameters. 41 41 * (3) User starts the search(es) by calling _find() or _next() to 42 42 * fetch subsequent occurrences. A state variable is provided 43 - * to the algorihtm to store persistant variables. 43 + * to the algorihtm to store persistent variables. 44 44 * (4) Core eventually resets the search offset and forwards the find() 45 45 * request to the algorithm. 46 46 * (5) Algorithm calls get_next_block() provided by the user continously