staging/lustre/lov: Move target sysfs symlink removal to LOV freeing
authorOleg Drokin <green@linuxhacker.ru>
Wed, 24 Jun 2015 14:09:24 +0000 (10:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jul 2015 02:40:55 +0000 (19:40 -0700)
commit3c150f0081647c0b96ce0d61d541b9b470433676
treeb2354e6659c1b987f09984c7ae1ab88d8aa668d2
parenta82de7ea52e74b39b9e13ec0d6372378181dcfd0
staging/lustre/lov: Move target sysfs symlink removal to LOV freeing

This helps to avoid use after free on unmount.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_obd.c