]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/Migrator.cc: fix possible dereference NULL return value
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 22 May 2013 15:25:16 +0000 (17:25 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 22 May 2013 15:25:16 +0000 (17:25 +0200)
commit32b024c6c6b38b7baf8a649789f752df1296bade
tree9c4804cbad69c9c6502b5f53d60dd58429868c1c
parented53bf17c5cc52d1daa1d2ba6ed6a59e69a1f5ee
mds/Migrator.cc: fix possible dereference NULL return value

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

CID 716998 (#2 of 2): Dereference null return value (NULL_RETURNS)
  dereference: Dereferencing a pointer that might be null "in" when
  calling "MDCache::add_replica_dir(ceph::buffer::list::iterator &,
  CInode *, int, std::list<Context *, std::allocator<Context *> > &)".

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