[PATCH] s390: Remove old history/whitespave from partition code
Remove obsolete history and trailing whitespace. Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
82814dbafd
commit
ef1597d527
@@ -4,12 +4,6 @@
|
|||||||
* Volker Sameske <sameske@de.ibm.com>
|
* Volker Sameske <sameske@de.ibm.com>
|
||||||
* Bugreports.to..: <Linux390@de.ibm.com>
|
* Bugreports.to..: <Linux390@de.ibm.com>
|
||||||
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
|
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
|
||||||
|
|
||||||
* History of changes (starts July 2000)
|
|
||||||
* 07/10/00 Fixed detection of CMS formatted disks
|
|
||||||
* 02/13/00 VTOC partition support added
|
|
||||||
* 12/27/01 fixed PL030593 (CMS reserved minidisk not detected on 64 bit)
|
|
||||||
* 07/24/03 no longer using contents of freed page for CMS label recognition (BZ3611)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
@@ -34,7 +28,6 @@ cchh2blk (struct vtoc_cchh *ptr, struct hd_geometry *geo) {
|
|||||||
ptr->hh * geo->sectors;
|
ptr->hh * geo->sectors;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* compute the block number from a
|
* compute the block number from a
|
||||||
* cyl-cyl-head-head-block structure
|
* cyl-cyl-head-head-block structure
|
||||||
@@ -159,8 +152,8 @@ ibm_partition(struct parsed_partitions *state, struct block_device *bdev)
|
|||||||
if (counter >= state->limit)
|
if (counter >= state->limit)
|
||||||
break;
|
break;
|
||||||
put_partition(state, counter + 1,
|
put_partition(state, counter + 1,
|
||||||
offset * (blocksize >> 9),
|
offset * (blocksize >> 9),
|
||||||
size * (blocksize >> 9));
|
size * (blocksize >> 9));
|
||||||
counter++;
|
counter++;
|
||||||
blk++;
|
blk++;
|
||||||
}
|
}
|
||||||
@@ -175,7 +168,7 @@ ibm_partition(struct parsed_partitions *state, struct block_device *bdev)
|
|||||||
offset = (info->label_block + 1);
|
offset = (info->label_block + 1);
|
||||||
size = i_size >> 9;
|
size = i_size >> 9;
|
||||||
put_partition(state, 1, offset*(blocksize >> 9),
|
put_partition(state, 1, offset*(blocksize >> 9),
|
||||||
size-offset*(blocksize >> 9));
|
size-offset*(blocksize >> 9));
|
||||||
}
|
}
|
||||||
|
|
||||||
printk("\n");
|
printk("\n");
|
||||||
|
Reference in New Issue
Block a user