nvmet: mark nvmet_genctr static
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Nov 2018 15:46:23 +0000 (16:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:57 +0000 (22:26 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/discovery.c
drivers/nvme/target/nvmet.h

index eb45ebc3ac2cf66beca9bae1194d15214ddf729d..4d8757ae82102dfff80d175673a78ed3870c1c0c 100644 (file)
@@ -18,7 +18,7 @@
 
 struct nvmet_subsys *nvmet_disc_subsys;
 
-u64 nvmet_genctr;
+static u64 nvmet_genctr;
 
 static void __nvmet_disc_changed(struct nvmet_port *port,
                                 struct nvmet_ctrl *ctrl)
index 31474940e373573ce6a30fb6df8eaf7ae404de43..03988fe9d9150e1abdb408b2d2c3eb4d76e6f246 100644 (file)
@@ -470,7 +470,6 @@ int __init nvmet_init_discovery(void);
 void nvmet_exit_discovery(void);
 
 extern struct nvmet_subsys *nvmet_disc_subsys;
-extern u64 nvmet_genctr;
 extern struct rw_semaphore nvmet_config_sem;
 
 extern u32 nvmet_ana_group_enabled[NVMET_MAX_ANAGRPS + 1];