summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorNiu Yawei <yawei.niu@intel.com>2016-05-04 10:28:58 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-09 14:01:14 +0200
commit2ff1d8fbba493538e0d0c4f0e2dcd9c4bb0eb21a (patch)
tree7adab4b52d75a289ec3cbbb157a99f4fe8e3bd88 /drivers/macintosh
parent4fd9a8e937368781ac830402a3bcb87646999946 (diff)
downloadlinux-stable-2ff1d8fbba493538e0d0c4f0e2dcd9c4bb0eb21a.tar.gz
linux-stable-2ff1d8fbba493538e0d0c4f0e2dcd9c4bb0eb21a.tar.bz2
linux-stable-2ff1d8fbba493538e0d0c4f0e2dcd9c4bb0eb21a.zip
staging: lustre: ptlrpc: fix nrs cleanup
When service start failed due to short of memory, the cleanup code could operate on uninitialized structure and cause crash at the end. This patch fix the nrs_svcpt_cleanup_locked() to perform cleanup only on the nrs which has been properly initialized. Signed-off-by: Niu Yawei <yawei.niu@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3772 Reviewed-on: http://review.whamcloud.com/7410 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions