]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/MDCache.cc: fix dereference null return value
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 29 May 2013 13:14:28 +0000 (15:14 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 31 May 2013 17:15:23 +0000 (19:15 +0200)
commit91f6b0f04bd716983dd9cef607295545b06bd6d3
treea8235a311e32cb7e16d876cbcea59193581fc353
parent38ee69c2f53c412829f656813ef6b5219e8b055e
mds/MDCache.cc: fix dereference null return value

CID 716993 (#1 of 2): Dereference null return value (NULL_RETURNS)
  dereference: Dereferencing a pointer that might be null "in" when
  calling "operator <<(std::ostream &, CInode &)".

Add assert for 'in'.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mds/MDCache.cc