]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid useless have_inode() call
authorSage Weil <sage@inktank.com>
Sat, 29 Sep 2012 08:06:38 +0000 (01:06 -0700)
committerSage Weil <sage@inktank.com>
Sat, 29 Sep 2012 08:06:38 +0000 (01:06 -0700)
commit5e51f5506afbea66f3b8bcff0be1bba08ce1ed3c
tree04dd8c9c89ab8422407deabd0c60594c4c20011d
parent6047325763118a5ee4bde1286070ed9f2385b70b
mds: avoid useless have_inode() call

CID 716989: Dereference null return value (NULL_RETURNS)
At (83): Dereferencing a pointer that might be null "in" when calling "operator <<(std::ostream &, CInode &)". [hide details]

Signed-off-by: Sage Weil <sage@inktank.com>
src/mds/CDir.cc