]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5a65f9ab807aa4e9d69d15ecfe71cce5de733d6
treeb1ba71d10bca601d9933b4d2873c9bff58827b87
parent69aff151f9e06a3d9b1bc8c67e6513c9c62b9ed8
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