]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
FileStore: get_index prior to taking fdcache_lock in lfn_unlink
authorSamuel Just <sam.just@inktank.com>
Wed, 19 Jun 2013 22:11:28 +0000 (15:11 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 19 Jun 2013 22:24:51 +0000 (15:24 -0700)
commit8a5d989c39ed626ae7836cdd867bdcf67b61fc06
tree4acb61b4ded42beb93df6f45f11f11880df31ad1
parent02b3c552659299c7c7c2e789f0660f0add2f639f
FileStore: get_index prior to taking fdcache_lock in lfn_unlink

We take the fdcache_lock while holding onto index objects
elsewhere in the code.

Fixes: #5389
Reviewed-by: David Zafman <david.zafman@inktank.com>
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/os/FileStore.cc