]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: fix the cross-quota rename boundary check conditions 12489/head
authorGreg Farnum <gfarnum@redhat.com>
Wed, 14 Dec 2016 20:09:44 +0000 (12:09 -0800)
committerGreg Farnum <gfarnum@redhat.com>
Thu, 12 Jan 2017 22:30:09 +0000 (14:30 -0800)
commit8e8892aa46accb519faa4bb9fecf66618f1b11b2
treec3f11ad018a087dcac95e54df5f0338780c6b4ca
parent93d7a21e42d3cee526691fa1a444acd5522e17f0
client: fix the cross-quota rename boundary check conditions

We were previously rejecting a rename if either of the involved directories
was a quota root, even if the other directory was part of the same quota
"tree". What we really want to do is identify the correct quota root
(whether local or ancestral) for each directory and compare them. So
now we do.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/client/Client.cc