diff options
author | Omar Sandoval <osandov@fb.com> | 2017-02-01 01:53:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-02 20:20:16 +0300 |
commit | a428d314ebcf65842fd64ad850c02c280586e74d (patch) | |
tree | fa7418aca3b2ca52b4083c112813acaf9b533e8e /kernel/trace/blktrace.c | |
parent | 03796c149a99e14506db9de3adba710c26f83ba9 (diff) | |
download | linux-a428d314ebcf65842fd64ad850c02c280586e74d.tar.xz |
blktrace: make do_blk_trace_setup() static
This isn't used outside of blktrace.c anymore.
Fixes: 62c2a7d969f3 ("block: push BKL into blktrace ioctls")
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'kernel/trace/blktrace.c')
-rw-r--r-- | kernel/trace/blktrace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index e33050e3ea1c..84763e0c83cf 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c @@ -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; |