]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix crush CHOOSE_LEAF when type is already a leaf
authorSage Weil <sage@newdream.net>
Thu, 24 Jun 2010 19:58:14 +0000 (12:58 -0700)
committerSage Weil <sage@newdream.net>
Thu, 24 Jun 2010 19:58:14 +0000 (12:58 -0700)
commit270b4b223f9b36f77a8292018c9cd4e6704766e4
tree3247b61cf5f1cc3efb212e0362493f98f326e4ff
parent31628fe4cc3135f6b39e829b532ab8ef2c94bcf8
ceph: fix crush CHOOSE_LEAF when type is already a leaf

We may not recurse for CHOOSE_LEAF if we start with a leaf node.  When
that happens, the out2 vector needs to be filled in with the result.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/crush/mapper.c