nbd: pass the nbd pointer for flags debugfs
authorJosef Bacik <jbacik@fb.com>
Wed, 8 Jun 2016 14:32:10 +0000 (10:32 -0400)
committerJens Axboe <axboe@fb.com>
Wed, 8 Jun 2016 15:03:54 +0000 (09:03 -0600)
commitd366a0ff1cf73f93796f2377e7b0361a94c41c35
treeb1ba71d10bca601d9933b4d2873c9bff58827b87
parent05bd92dddc595d74ea645e793c1f3bd4b1fc251a
nbd: pass the nbd pointer for flags debugfs

We were passing in &nbd for the private data in debugfs_create_file() for the
flags entry.  We expect it to just be nbd, fix this so we get proper output from
this debugfs entry.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c