]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix setvxattr (broken in a536d114) 6941/head
authorJohn Spray <john.spray@redhat.com>
Tue, 15 Dec 2015 13:20:03 +0000 (13:20 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 15 Dec 2015 13:22:23 +0000 (13:22 +0000)
commitd46583011527cc927c6e1f5dc393114b140b4384
treee20d202af79939250117b08d736a59488ad6c910
parentd278134232652f664a3698c3957af7ec827e561e
mds: fix setvxattr (broken in a536d114)

There was an accidental move of this line
when adding the MAY_SET_POOL check, which
was causing setxattr to proceed before
it had the right locks, and thereby apply
its checks on bad data (symptom was failing
to detect that the file had data written to it).

Fixes: #14029
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/Server.cc