]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: Fix projection in rename code paths.
authorGreg Farnum <gregf@hq.newdream.net>
Mon, 11 Oct 2010 16:40:29 +0000 (09:40 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Tue, 12 Oct 2010 14:49:56 +0000 (07:49 -0700)
commitb438b3d65b478a25ae1b9cab2cdd16c851d65fc8
tree3eb02f8a34461740dc56bc5ab825a52881600973
parent4ba060ccfa8b5ea4677c84f7872a69db3be0ebb7
mds: Fix projection in rename code paths.
We aren't actually projecting the inode unless destdn->is_auth(),
so check for that before projecting the snaprealm (which requires
a projected inode)!
Then on rename_apply, open the snaprealm on non-auth MDSes.
src/mds/Server.cc