]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use fnode when replaying journal
authorSage Weil <sage@newdream.net>
Wed, 4 Nov 2009 23:22:11 +0000 (15:22 -0800)
committerSage Weil <sage@newdream.net>
Wed, 4 Nov 2009 23:22:11 +0000 (15:22 -0800)
commitee7affe5ebe64e75849b2cf32c8fa09e687660ea
tree841f4195a06151ca6a4e6e106dc1da7d2b0a0088
parent1687ce3a1c8707b74a0c09857f463144adb4e1ec
mds: use fnode when replaying journal

We weren't actually pulling the fnode from the journal. I'm
surprised anything worked.

This fixes a crash when untaring, restarting mds, and then
rm -r'ing the dir.  Previously the rstat would roll
negative and assert.
src/TODO
src/mds/CDir.cc
src/mds/journal.cc