]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: CInode::build_backtrace() always incr iter 147/head
authorSam Lang <sam.lang@inktank.com>
Tue, 26 Mar 2013 13:55:40 +0000 (08:55 -0500)
committerSam Lang <sam.lang@inktank.com>
Tue, 26 Mar 2013 16:14:52 +0000 (11:14 -0500)
commit14cef276f1dcf58de7540d2b952224b794aaafa7
tree1458209667d432c8c5f5ff1b71cf9f7709bf0c35
parent70e0ee8ba955322832f0c366537ddf7a0288761e
mds: CInode::build_backtrace() always incr iter

Always increment the iterator when adding old pools
to the backtrace.  This fixes a bug on files where
the layout had been set to a different pool and then
back to the same pool, causing continuous looping in
the build_backtrace() function.

Fixes #4537.
Signed-off-by: Sam Lang <sam.lang@inktank.com>
src/mds/CInode.cc