[PATCH] I2O: Lindent run and replacement of printk through osm printing functions
Lindent run and replaced printk() through the corresponding osm_*() function Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.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
9e87545f06
commit
f33213ecf4
@@ -64,40 +64,38 @@
|
||||
|
||||
/* I2O Block OSM mempool struct */
|
||||
struct i2o_block_mempool {
|
||||
kmem_cache_t *slab;
|
||||
mempool_t *pool;
|
||||
kmem_cache_t *slab;
|
||||
mempool_t *pool;
|
||||
};
|
||||
|
||||
/* I2O Block device descriptor */
|
||||
struct i2o_block_device {
|
||||
struct i2o_device *i2o_dev; /* pointer to I2O device */
|
||||
struct gendisk *gd;
|
||||
spinlock_t lock; /* queue lock */
|
||||
spinlock_t lock; /* queue lock */
|
||||
struct list_head open_queue; /* list of transfered, but unfinished
|
||||
requests */
|
||||
unsigned int open_queue_depth; /* number of requests in the queue */
|
||||
|
||||
int rcache; /* read cache flags */
|
||||
int wcache; /* write cache flags */
|
||||
int rcache; /* read cache flags */
|
||||
int wcache; /* write cache flags */
|
||||
int flags;
|
||||
u16 power; /* power state */
|
||||
int media_change_flag; /* media changed flag */
|
||||
u16 power; /* power state */
|
||||
int media_change_flag; /* media changed flag */
|
||||
};
|
||||
|
||||
/* I2O Block device request */
|
||||
struct i2o_block_request
|
||||
{
|
||||
struct i2o_block_request {
|
||||
struct list_head queue;
|
||||
struct request *req; /* corresponding request */
|
||||
struct request *req; /* corresponding request */
|
||||
struct i2o_block_device *i2o_blk_dev; /* I2O block device */
|
||||
struct device *dev; /* device used for DMA */
|
||||
int sg_nents; /* number of SG elements */
|
||||
struct scatterlist sg_table[I2O_MAX_PHYS_SEGMENTS]; /* SG table */
|
||||
struct device *dev; /* device used for DMA */
|
||||
int sg_nents; /* number of SG elements */
|
||||
struct scatterlist sg_table[I2O_MAX_PHYS_SEGMENTS]; /* SG table */
|
||||
};
|
||||
|
||||
/* I2O Block device delayed request */
|
||||
struct i2o_block_delayed_request
|
||||
{
|
||||
struct i2o_block_delayed_request {
|
||||
struct work_struct work;
|
||||
struct request_queue *queue;
|
||||
};
|
||||
|
Reference in New Issue
Block a user