]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Fix coverity 716909 [FORWARD_NULL]
authorSam Lang <sam.lang@inktank.com>
Wed, 26 Sep 2012 02:11:45 +0000 (19:11 -0700)
committerSage Weil <sage@inktank.com>
Wed, 26 Sep 2012 23:44:47 +0000 (16:44 -0700)
commit844ffd6afff58ed28fc1d45598adac9137000b43
tree0a2da697d4547fab1b5b58e7f65aad28aa9af2b6
parent68dea676d907d457e94e456409b7f57f405b4309
client: Fix coverity 716909 [FORWARD_NULL]

If we fill the request path from the dentry instead of the inode, we
need to use the dentry inode.  This fixes a segfault that would occur
in the case where request->inode is in fact null.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
src/client/Client.cc