[PATCH 0/5] brd: partition handling fixes

From: Namhyung Kim
Date: Thu May 26 2011 - 08:56:11 EST


Hello.

This is a patch set for fixing bugs on partition handling code which
was found when I read loop block device code as well as some cleanups.

The patch 2/5 and 3/5 are real fixes and should go to the stable tree
as Jens suggested on loop patches. Since partition managing code was
introduced by commit d7853d1f8932 ("brd: modify ramdisk device to be
able to manage partitions") all stable releases would need these fixes.

$ git name-rev --tags d7853d1f8932
d7853d1f8932 tags/v2.6.26-rc1~122

As always, any comments are welcomed.
Thanks.


Namhyung Kim (5):
brd: get rid of unused members from struct brd_device
brd: limit 'max_part' module param to DISK_MAX_PARTS
brd: handle on-demand devices correctly
brd: fix comment on initial device creation
brd: export module parameters

drivers/block/brd.c | 42 ++++++++++++++++++++++++++----------------
1 files changed, 26 insertions(+), 16 deletions(-)

--
1.7.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/