]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use correct helper when pinning past snaprealm parent
authorSage Weil <sage@newdream.net>
Fri, 15 Oct 2010 16:37:40 +0000 (09:37 -0700)
committerSage Weil <sage@newdream.net>
Fri, 15 Oct 2010 20:41:03 +0000 (13:41 -0700)
commit0e472d4a5a2064a2abc3f3daefa4892868ef8ebd
tree3883f3c00757f86da2ffb801ad40488a54476988
parentd8ee92a6423cd6b766f1b85799c96eb1521be078
mds: use correct helper when pinning past snaprealm parent

The heler also updates the SnapRealm::open_past_parents, which is needed
for the have_past_parents_open() check.

That is used when, among other things, we import caps; not updating it
prevented the cap import from sending the client cap message, which makes
the mds<->client cap relationship get out of sync.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/CInode.cc