]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: fix potentially invalid read in trim_caps
authorJohn Spray <john.spray@redhat.com>
Wed, 3 Sep 2014 18:31:38 +0000 (19:31 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 15 Sep 2014 14:05:13 +0000 (15:05 +0100)
commit21f5e18ee39845109bc10722757032700eda027a
tree9df2efb9098f7a6afc19f4ff57fb5de4a9663a12
parent9007217239a151205b43f7b69550414a4e6a14f9
client: fix potentially invalid read in trim_caps

trim_dentry can potentially free an inode, so get/put
it around the block where we use the inode's dn_set.

Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc