]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix invalid comparison.
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 25 Aug 2010 19:04:53 +0000 (12:04 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 25 Aug 2010 19:06:08 +0000 (12:06 -0700)
commit655199a4821750b8292d791ec47a90dc185f4f5a
treeef3a710fe632edcb08a47ac26487c8442e138b72
parent98cf3c36cb0f040172f5a3cc0fcd3675c20f95a7
mds: fix invalid comparison.

We just want the code in this if block to execute if the previous if block did.
But the previous if block unlinked destdnl, so the comparison always fails! Use
a bool and set it appropriately to fix.
src/mds/Server.cc