mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
blktrace: make do_blk_trace_setup() static
This isn't used outside of blktrace.c anymore.
Fixes: 62c2a7d969
("block: push BKL into blktrace ioctls")
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
03796c149a
commit
a428d314eb
2 changed files with 3 additions and 7 deletions
|
@ -433,9 +433,9 @@ static void blk_trace_setup_lba(struct blk_trace *bt,
|
|||
/*
|
||||
* Setup everything required to start tracing
|
||||
*/
|
||||
int do_blk_trace_setup(struct request_queue *q, char *name, dev_t dev,
|
||||
struct block_device *bdev,
|
||||
struct blk_user_trace_setup *buts)
|
||||
static int do_blk_trace_setup(struct request_queue *q, char *name, dev_t dev,
|
||||
struct block_device *bdev,
|
||||
struct blk_user_trace_setup *buts)
|
||||
{
|
||||
struct blk_trace *bt = NULL;
|
||||
struct dentry *dir = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue