aboutsummaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2020-04-01 16:16:27 -0700
committerChristoph Hellwig <[email protected]>2020-04-02 10:51:56 +0200
commitf0e656e4f253120eb871a53ffab7664530c1d9f4 (patch)
tree78601c32b20dcd3ac4c907691032130d55070580 /lib/kobject.c
parent74e4d20e2f43cf09a35543d960ac8f7a1ffcbbb5 (diff)
nvmet: fix NULL dereference when removing a referral
When item release is called, the parent is already null. We need the parent to pass to nvmet_referral_disable so hook it up to ->disconnect_notify. Reported-by: Tony Asleson <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions