diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-11 19:29:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-11 19:29:22 -0500 |
commit | 63f45b80947cb0819673860f6970f483e2cab21d (patch) | |
tree | 6b0d46c7da70786c15ee893d8a48aa866ae3742c | |
parent | 85837ebdd7bb3e96a60e9b4c6af6c60d1273bc67 (diff) | |
parent | b2d1a8adc9cf3bde32a18a1a1856641638a9c729 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
-rw-r--r-- | Documentation/early-userspace/README | 2 | ||||
-rw-r--r-- | MAINTAINERS | 1 | ||||
-rw-r--r-- | drivers/block/floppy.c | 8 | ||||
-rw-r--r-- | drivers/char/ftape/lowlevel/ftape-buffer.c | 1 | ||||
-rw-r--r-- | fs/afs/callback.c | 1 | ||||
-rw-r--r-- | fs/befs/attribute.c | 117 | ||||
-rw-r--r-- | fs/freevxfs/vxfs_bmap.c | 1 | ||||
-rw-r--r-- | fs/freevxfs/vxfs_olt.c | 1 | ||||
-rw-r--r-- | fs/ioprio.c | 1 | ||||
-rw-r--r-- | fs/jffs/jffs_fm.c | 1 | ||||
-rw-r--r-- | fs/partitions/ultrix.c | 1 | ||||
-rw-r--r-- | fs/reiserfs/hashes.c | 1 | ||||
-rw-r--r-- | include/linux/idr.h | 6 | ||||
-rw-r--r-- | mm/slab.c | 2 |
14 files changed, 20 insertions, 124 deletions
diff --git a/Documentation/early-userspace/README b/Documentation/early-userspace/README index 270a88e22fb9..cddbac456c29 100644 --- a/Documentation/early-userspace/README +++ b/Documentation/early-userspace/README | |||
@@ -28,7 +28,7 @@ the image from specifications. | |||
28 | CPIO ARCHIVE method | 28 | CPIO ARCHIVE method |
29 | 29 | ||
30 | You can create a cpio archive that contains the early userspace image. | 30 | You can create a cpio archive that contains the early userspace image. |
31 | Youre cpio archive should be specified in CONFIG_INITRAMFS_SOURCE and it | 31 | Your cpio archive should be specified in CONFIG_INITRAMFS_SOURCE and it |
32 | will be used directly. Only a single cpio file may be specified in | 32 | will be used directly. Only a single cpio file may be specified in |
33 | CONFIG_INITRAMFS_SOURCE and directory and file names are not allowed in | 33 | CONFIG_INITRAMFS_SOURCE and directory and file names are not allowed in |
34 | combination with a cpio archive. | 34 | combination with a cpio archive. |
diff --git a/MAINTAINERS b/MAINTAINERS index 0b03a88e88be..2313de23b0da 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -1988,7 +1988,6 @@ PKTCDVD DRIVER | |||
1988 | P: Peter Osterlund | 1988 | P: Peter Osterlund |
1989 | M: petero2@telia.com | 1989 | M: petero2@telia.com |
1990 | L: linux-kernel@vger.kernel.org | 1990 | L: linux-kernel@vger.kernel.org |
1991 | L: packet-writing@suse.com | ||
1992 | S: Maintained | 1991 | S: Maintained |
1993 | 1992 | ||
1994 | POSIX CLOCKS and TIMERS | 1993 | POSIX CLOCKS and TIMERS |
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 28002de783b6..13b8a9bed66e 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c | |||
@@ -98,6 +98,10 @@ | |||
98 | */ | 98 | */ |
99 | 99 | ||
100 | /* | 100 | /* |
101 | * 1998/1/21 -- Richard Gooch <rgooch@atnf.csiro.au> -- devfs support | ||
102 | */ | ||
103 | |||
104 | /* | ||
101 | * 1998/05/07 -- Russell King -- More portability cleanups; moved definition of | 105 | * 1998/05/07 -- Russell King -- More portability cleanups; moved definition of |
102 | * interrupt and dma channel to asm/floppy.h. Cleaned up some formatting & | 106 | * interrupt and dma channel to asm/floppy.h. Cleaned up some formatting & |
103 | * use of '0' for NULL. | 107 | * use of '0' for NULL. |
@@ -158,10 +162,6 @@ static int print_unex = 1; | |||
158 | #define FDPATCHES | 162 | #define FDPATCHES |
159 | #include <linux/fdreg.h> | 163 | #include <linux/fdreg.h> |
160 | 164 | ||
161 | /* | ||
162 | * 1998/1/21 -- Richard Gooch <rgooch@atnf.csiro.au> -- devfs support | ||
163 | */ | ||
164 | |||
165 | #include <linux/fd.h> | 165 | #include <linux/fd.h> |
166 | #include <linux/hdreg.h> | 166 | #include <linux/hdreg.h> |
167 | 167 | ||
diff --git a/drivers/char/ftape/lowlevel/ftape-buffer.c b/drivers/char/ftape/lowlevel/ftape-buffer.c index 54af20cd9a2c..c706ff162771 100644 --- a/drivers/char/ftape/lowlevel/ftape-buffer.c +++ b/drivers/char/ftape/lowlevel/ftape-buffer.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include "../lowlevel/ftape-rw.h" | 33 | #include "../lowlevel/ftape-rw.h" |
34 | #include "../lowlevel/ftape-read.h" | 34 | #include "../lowlevel/ftape-read.h" |
35 | #include "../lowlevel/ftape-tracing.h" | 35 | #include "../lowlevel/ftape-tracing.h" |
36 | #include "../lowlevel/ftape-buffer.h" | ||
36 | 37 | ||
37 | /* DMA'able memory allocation stuff. | 38 | /* DMA'able memory allocation stuff. |
38 | */ | 39 | */ |
diff --git a/fs/afs/callback.c b/fs/afs/callback.c index 2fd62f89ae01..9cb206e9d4be 100644 --- a/fs/afs/callback.c +++ b/fs/afs/callback.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include "server.h" | 19 | #include "server.h" |
20 | #include "vnode.h" | 20 | #include "vnode.h" |
21 | #include "internal.h" | 21 | #include "internal.h" |
22 | #include "cmservice.h" | ||
22 | 23 | ||
23 | /*****************************************************************************/ | 24 | /*****************************************************************************/ |
24 | /* | 25 | /* |
diff --git a/fs/befs/attribute.c b/fs/befs/attribute.c deleted file mode 100644 index e329d727053e..000000000000 --- a/fs/befs/attribute.c +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | /* | ||
2 | * linux/fs/befs/attribute.c | ||
3 | * | ||
4 | * Copyright (C) 2002 Will Dyson <will_dyson@pobox.com> | ||
5 | * | ||
6 | * Many thanks to Dominic Giampaolo, author of "Practical File System | ||
7 | * Design with the Be File System", for such a helpful book. | ||
8 | * | ||
9 | */ | ||
10 | |||
11 | #include <linux/fs.h> | ||
12 | #include <linux/kernel.h> | ||
13 | #include <linux/string.h> | ||
14 | |||
15 | #include "befs.h" | ||
16 | #include "endian.h" | ||
17 | |||
18 | #define SD_DATA(sd)\ | ||
19 | (void*)((char*)sd + sizeof(*sd) + (sd->name_size - sizeof(sd->name))) | ||
20 | |||
21 | #define SD_NEXT(sd)\ | ||
22 | (befs_small_data*)((char*)sd + sizeof(*sd) + (sd->name_size - \ | ||
23 | sizeof(sd->name) + sd->data_size)) | ||
24 | |||
25 | int | ||
26 | list_small_data(struct super_block *sb, befs_inode * inode, filldir_t filldir); | ||
27 | |||
28 | befs_small_data * | ||
29 | find_small_data(struct super_block *sb, befs_inode * inode, | ||
30 | const char *name); | ||
31 | int | ||
32 | read_small_data(struct super_block *sb, befs_inode * inode, | ||
33 | befs_small_data * sdata, void *buf, size_t bufsize); | ||
34 | |||
35 | /** | ||
36 | * | ||
37 | * | ||
38 | * | ||
39 | * | ||
40 | * | ||
41 | */ | ||
42 | befs_small_data * | ||
43 | find_small_data(struct super_block *sb, befs_inode * inode, const char *name) | ||
44 | { | ||
45 | befs_small_data *sdata = inode->small_data; | ||
46 | |||
47 | while (sdata->type != 0) { | ||
48 | if (strcmp(name, sdata->name) != 0) { | ||
49 | return sdata; | ||
50 | } | ||
51 | sdata = SD_NEXT(sdata); | ||
52 | } | ||
53 | return NULL; | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * | ||
58 | * | ||
59 | * | ||
60 | * | ||
61 | * | ||
62 | */ | ||
63 | int | ||
64 | read_small_data(struct super_block *sb, befs_inode * inode, | ||
65 | const char *name, void *buf, size_t bufsize) | ||
66 | { | ||
67 | befs_small_data *sdata; | ||
68 | |||
69 | sdata = find_small_data(sb, inode, name); | ||
70 | if (sdata == NULL) | ||
71 | return BEFS_ERR; | ||
72 | else if (sdata->data_size > bufsize) | ||
73 | return BEFS_ERR; | ||
74 | |||
75 | memcpy(buf, SD_DATA(sdata), sdata->data_size); | ||
76 | |||
77 | return BEFS_OK; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * | ||
82 | * | ||
83 | * | ||
84 | * | ||
85 | * | ||
86 | */ | ||
87 | int | ||
88 | list_small_data(struct super_block *sb, befs_inode * inode) | ||
89 | { | ||
90 | |||
91 | } | ||
92 | |||
93 | /** | ||
94 | * | ||
95 | * | ||
96 | * | ||
97 | * | ||
98 | * | ||
99 | */ | ||
100 | int | ||
101 | list_attr(struct super_block *sb, befs_inode * inode) | ||
102 | { | ||
103 | |||
104 | } | ||
105 | |||
106 | /** | ||
107 | * | ||
108 | * | ||
109 | * | ||
110 | * | ||
111 | * | ||
112 | */ | ||
113 | int | ||
114 | read_attr(struct super_block *sb, befs_inode * inode) | ||
115 | { | ||
116 | |||
117 | } | ||
diff --git a/fs/freevxfs/vxfs_bmap.c b/fs/freevxfs/vxfs_bmap.c index d3f6b2835bc8..2d71128bd8d6 100644 --- a/fs/freevxfs/vxfs_bmap.c +++ b/fs/freevxfs/vxfs_bmap.c | |||
@@ -36,6 +36,7 @@ | |||
36 | 36 | ||
37 | #include "vxfs.h" | 37 | #include "vxfs.h" |
38 | #include "vxfs_inode.h" | 38 | #include "vxfs_inode.h" |
39 | #include "vxfs_extern.h" | ||
39 | 40 | ||
40 | 41 | ||
41 | #ifdef DIAGNOSTIC | 42 | #ifdef DIAGNOSTIC |
diff --git a/fs/freevxfs/vxfs_olt.c b/fs/freevxfs/vxfs_olt.c index 133476201d84..76a0708ae978 100644 --- a/fs/freevxfs/vxfs_olt.c +++ b/fs/freevxfs/vxfs_olt.c | |||
@@ -36,6 +36,7 @@ | |||
36 | 36 | ||
37 | #include "vxfs.h" | 37 | #include "vxfs.h" |
38 | #include "vxfs_olt.h" | 38 | #include "vxfs_olt.h" |
39 | #include "vxfs_extern.h" | ||
39 | 40 | ||
40 | 41 | ||
41 | static inline void | 42 | static inline void |
diff --git a/fs/ioprio.c b/fs/ioprio.c index d1c1f2b2c9da..4bf1c6365a19 100644 --- a/fs/ioprio.c +++ b/fs/ioprio.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
23 | #include <linux/ioprio.h> | 23 | #include <linux/ioprio.h> |
24 | #include <linux/blkdev.h> | 24 | #include <linux/blkdev.h> |
25 | #include <linux/syscalls.h> | ||
25 | 26 | ||
26 | static int set_task_ioprio(struct task_struct *task, int ioprio) | 27 | static int set_task_ioprio(struct task_struct *task, int ioprio) |
27 | { | 28 | { |
diff --git a/fs/jffs/jffs_fm.c b/fs/jffs/jffs_fm.c index 053e3a98a276..6da13b309bd1 100644 --- a/fs/jffs/jffs_fm.c +++ b/fs/jffs/jffs_fm.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/blkdev.h> | 20 | #include <linux/blkdev.h> |
21 | #include <linux/jffs.h> | 21 | #include <linux/jffs.h> |
22 | #include "jffs_fm.h" | 22 | #include "jffs_fm.h" |
23 | #include "intrep.h" | ||
23 | 24 | ||
24 | #if defined(JFFS_MARK_OBSOLETE) && JFFS_MARK_OBSOLETE | 25 | #if defined(JFFS_MARK_OBSOLETE) && JFFS_MARK_OBSOLETE |
25 | static int jffs_mark_obsolete(struct jffs_fmcontrol *fmc, __u32 fm_offset); | 26 | static int jffs_mark_obsolete(struct jffs_fmcontrol *fmc, __u32 fm_offset); |
diff --git a/fs/partitions/ultrix.c b/fs/partitions/ultrix.c index 8a8d4d9db314..ec852c11dce4 100644 --- a/fs/partitions/ultrix.c +++ b/fs/partitions/ultrix.c | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "check.h" | 9 | #include "check.h" |
10 | #include "ultrix.h" | ||
10 | 11 | ||
11 | int ultrix_partition(struct parsed_partitions *state, struct block_device *bdev) | 12 | int ultrix_partition(struct parsed_partitions *state, struct block_device *bdev) |
12 | { | 13 | { |
diff --git a/fs/reiserfs/hashes.c b/fs/reiserfs/hashes.c index 37c1306eb9b7..a3ec238fd9e0 100644 --- a/fs/reiserfs/hashes.c +++ b/fs/reiserfs/hashes.c | |||
@@ -19,6 +19,7 @@ | |||
19 | // | 19 | // |
20 | 20 | ||
21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
22 | #include <linux/reiserfs_fs.h> | ||
22 | #include <asm/types.h> | 23 | #include <asm/types.h> |
23 | #include <asm/bug.h> | 24 | #include <asm/bug.h> |
24 | 25 | ||
diff --git a/include/linux/idr.h b/include/linux/idr.h index 7fb3ff9c7b0e..d37c8d808b0f 100644 --- a/include/linux/idr.h +++ b/include/linux/idr.h | |||
@@ -8,6 +8,10 @@ | |||
8 | * Small id to pointer translation service avoiding fixed sized | 8 | * Small id to pointer translation service avoiding fixed sized |
9 | * tables. | 9 | * tables. |
10 | */ | 10 | */ |
11 | |||
12 | #ifndef __IDR_H__ | ||
13 | #define __IDR_H__ | ||
14 | |||
11 | #include <linux/types.h> | 15 | #include <linux/types.h> |
12 | #include <linux/bitops.h> | 16 | #include <linux/bitops.h> |
13 | 17 | ||
@@ -77,3 +81,5 @@ int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id); | |||
77 | void idr_remove(struct idr *idp, int id); | 81 | void idr_remove(struct idr *idp, int id); |
78 | void idr_destroy(struct idr *idp); | 82 | void idr_destroy(struct idr *idp); |
79 | void idr_init(struct idr *idp); | 83 | void idr_init(struct idr *idp); |
84 | |||
85 | #endif /* __IDR_H__ */ | ||
@@ -434,7 +434,7 @@ struct kmem_cache { | |||
434 | /* Optimization question: fewer reaps means less | 434 | /* Optimization question: fewer reaps means less |
435 | * probability for unnessary cpucache drain/refill cycles. | 435 | * probability for unnessary cpucache drain/refill cycles. |
436 | * | 436 | * |
437 | * OTHO the cpuarrays can contain lots of objects, | 437 | * OTOH the cpuarrays can contain lots of objects, |
438 | * which could lock up otherwise freeable slabs. | 438 | * which could lock up otherwise freeable slabs. |
439 | */ | 439 | */ |
440 | #define REAPTIMEOUT_CPUC (2*HZ) | 440 | #define REAPTIMEOUT_CPUC (2*HZ) |