projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcab1e5
)
[PATCH] proc: fix duplicate line in /proc/devices
author
Neil Horman
<nhorman@tuxdriver.com>
Thu, 23 Mar 2006 10:59:19 +0000
(
02:59
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:02 +0000
(07:38 -0800)
Fix a duplicate block device line printed after the "Block device" header
in /proc/devices.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/proc_misc.c
patch
|
blob
|
history
diff --git
a/fs/proc/proc_misc.c
b/fs/proc/proc_misc.c
index 1d24fead51a6385d9e2ce69c9e7353ade88c039a..826c131994c38008226a0bb1c3fa668c11d13403 100644
(file)
--- a/
fs/proc/proc_misc.c
+++ b/
fs/proc/proc_misc.c
@@
-312,7
+312,7
@@
static void *devinfo_next(struct seq_file *f, void *v, loff_t *pos)
case BLK_HDR:
info->state = BLK_LIST;
(*pos)++;
- break;
+ /*fallthrough*/
case BLK_LIST:
if (get_blkdev_info(info->blkdev,&idummy,&ndummy)) {
/*