Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5be0e951 authored by Neil Horman's avatar Neil Horman Committed by Linus Torvalds
Browse files

[PATCH] proc: fix duplicate line in /proc/devices



Fix a duplicate block device line printed after the "Block device" header
in /proc/devices.

Signed-off-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fcab1e51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)) {
				/*