Whamcloud - gitweb
LU-931 mdd: store lu_fid instead of pointer in md_capainfo
authorHongchao Zhang <hongchao.zhang@whamcloud.com>
Tue, 17 Jan 2012 04:10:25 +0000 (12:10 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Mar 2012 03:59:30 +0000 (23:59 -0400)
in md_capainfo, mc_fid contains at most 5 pointers to lu_fid,
and if the corresponding lu_fid is freed, the pointer isn't notified
about it, then the pointer will point to freed memory!

Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Change-Id: I00088cbfeb145ceac0477467a8b2436f6cf1e530
Reviewed-on: http://review.whamcloud.com/1979
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mikhail Pershin <tappro@whamcloud.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>

No differences found