git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e14b1a
)
ceph: Fix oops when handling mdsmap that decreases max_mds
author
Yan, Zheng
<zheng.z.yan@intel.com>
Thu, 20 Sep 2012 09:42:25 +0000
(17:42 +0800)
committer
Alex Elder
<elder@inktank.com>
Mon, 1 Oct 2012 19:30:54 +0000
(14:30 -0500)
When i >= newmap->m_max_mds, ceph_mdsmap_get_addr(newmap, i) return
NULL. Passing NULL to memcmp() triggers oops.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
No differences found