9
0
Fork 0

dos partitions: Do not register as fixed partitions

A fixed partition means that we can't remove it. This is only suitable
for our vital /dev/self0 and /dev/env0 partitions, so remove the fixed
flag.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-02-13 19:42:17 +01:00
parent 6ca081d53d
commit 80b767748b
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ static int register_one_partition(struct block_device *blk,
return devfs_add_partition(blk->cdev.name,
part->first_sec * SECTOR_SIZE,
part->size * SECTOR_SIZE,
DEVFS_PARTITION_FIXED, partition_name);
0, partition_name);
}
/**