Skip to content

Commit

Permalink
block: make core bits checkpatch compliant
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Jens Axboe committed Feb 1, 2008
1 parent 22b1321 commit 6728cb0
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 142 deletions.
5 changes: 2 additions & 3 deletions block/blk-barrier.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ int blk_queue_ordered(struct request_queue *q, unsigned ordered,
{
if (ordered & (QUEUE_ORDERED_PREFLUSH | QUEUE_ORDERED_POSTFLUSH) &&
prepare_flush_fn == NULL) {
printk(KERN_ERR "blk_queue_ordered: prepare_flush_fn required\n");
printk(KERN_ERR "%s: prepare_flush_fn required\n",
__FUNCTION__);
return -EINVAL;
}

Expand All @@ -47,7 +48,6 @@ int blk_queue_ordered(struct request_queue *q, unsigned ordered,

return 0;
}

EXPORT_SYMBOL(blk_queue_ordered);

/*
Expand Down Expand Up @@ -315,5 +315,4 @@ int blkdev_issue_flush(struct block_device *bdev, sector_t *error_sector)
bio_put(bio);
return ret;
}

EXPORT_SYMBOL(blkdev_issue_flush);
Loading

0 comments on commit 6728cb0

Please sign in to comment.