]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: fix the cross-quota rename boundary check conditions 14567/head
authorGreg Farnum <gfarnum@redhat.com>
Wed, 14 Dec 2016 20:09:44 +0000 (12:09 -0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Apr 2017 21:46:00 +0000 (23:46 +0200)
commiteb12e3a7524fcbc009cabda333a6a958390743bd
tree0764a0cc54d62c99ab9383d8af169d21306ff45a
parenteb84959bac369dbb86674f9e4225ba1c836c104c
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>
(cherry picked from commit 8e8892aa46accb519faa4bb9fecf66618f1b11b2)
src/client/Client.cc