Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110510
b: refs/heads/master
c: aeb3d3a
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Jens Axboe committed Oct 9, 2008
1 parent 867f972 commit af3c4ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01cfcddd98f09e05a2e36031654ed46643b76f23
refs/heads/master: aeb3d3a81e81c6323a17fe914e91eb228b3f1aa1
2 changes: 1 addition & 1 deletion trunk/block/blk-settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ void blk_queue_update_dma_alignment(struct request_queue *q, int mask)
}
EXPORT_SYMBOL(blk_queue_update_dma_alignment);

int __init blk_settings_init(void)
static int __init blk_settings_init(void)
{
blk_max_low_pfn = max_low_pfn - 1;
blk_max_pfn = max_pfn - 1;
Expand Down
4 changes: 2 additions & 2 deletions trunk/block/genhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ struct gendisk *get_gendisk(dev_t devt, int *partno)
* RETURNS:
* Resulting block_device on success, NULL on failure.
*/
extern struct block_device *bdget_disk(struct gendisk *disk, int partno)
struct block_device *bdget_disk(struct gendisk *disk, int partno)
{
struct hd_struct *part;
struct block_device *bdev = NULL;
Expand Down Expand Up @@ -654,7 +654,7 @@ static void *disk_seqf_start(struct seq_file *seqf, loff_t *pos)
struct class_dev_iter *iter;
struct device *dev;

iter = kmalloc(GFP_KERNEL, sizeof(*iter));
iter = kmalloc(sizeof(*iter), GFP_KERNEL);
if (!iter)
return ERR_PTR(-ENOMEM);

Expand Down

0 comments on commit af3c4ac

Please sign in to comment.