summaryrefslogtreecommitdiff
path: root/include/linux/blkpg.h
AgeCommit message (Collapse)Author
2006-04-27linux/blkpg.h needs <linux/compiler.h> for __userDavid Woodhouse
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2004-05-28[PATCH] sparse: trivial part of drivers/block __user annotationAlexander Viro
2003-05-07[PATCH] remove partition_name()Andrew Morton
From: Christoph Hellwig <hch@lst.de> partition_name() is a variant of __bdevname() that caches results and returns a pointrer to kmalloc()ed data instead of printing into a buffer. Due to it's caching it gets utterly confused when the name for a dev_t changes (can happen easily now with device mapper and probably in the future with dynamic dev_t users). It's only used by the raid code and most calls are through a wrapper, bdev_partition_name() which takes a struct block_device * that maybe be NULL. The patch below changes the bdev_partition_name() to call bdevname() if possible and the other calls where we really have nothing more than a dev_t to __bdevname. Btw, it would be nice if someone who knows the md code a bit better than me could remove bdev_partition_name() in favour of direct calls to bdevname() where possible - that would also get rid of the returns pointer to string on stack issue that this patch can't fix yet.
2002-10-15[PATCH] block ioctl cleanupAlexander Viro
guts of blkpg.c and blkdev_ioctl() sanitized up and moved into a new file - drivers/block/ioctl.c. blkpg.c is gone.
2002-09-21[PATCH] removal of bogus exportsAlexander Viro
partition_name() moved from md.c to partitions/check.c; disk_name() is not exported anymore; partition_name() takes dev_t instead of kdev_t.
2002-03-04[PATCH] (2/3) more kdev_t removalsAlexander Viro
2002-02-04Import changesetLinus Torvalds