aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/target/target_core_tpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_tpg.c b/drivers/target/target_core_tpg.c
index 4ab6da338585..be783f717f19 100644
--- a/drivers/target/target_core_tpg.c
+++ b/drivers/target/target_core_tpg.c
@@ -819,7 +819,7 @@ int core_tpg_add_lun(
819{ 819{
820 int ret; 820 int ret;
821 821
822 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 822 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0,
823 GFP_KERNEL); 823 GFP_KERNEL);
824 if (ret < 0) 824 if (ret < 0)
825 return ret; 825 return ret;