]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: deny access to directories with pool_ns layouts if feature is missing
authorSage Weil <sage@redhat.com>
Wed, 10 Feb 2016 14:38:33 +0000 (09:38 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Mar 2016 16:18:17 +0000 (11:18 -0500)
commit00850a67ca840422ea94ffe2eb22e0e65e112d88
tree789072c6f96bbb275c7a3b95628ca156712a1920
parent9c7669b95ad7468376e8618f1c508bfbba3fe061
mds: deny access to directories with pool_ns layouts if feature is missing

If the client feature is missing, given them EIO.  Change check_access to
return an error code to distinguish this from EACCES.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mds/Locker.cc
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SessionMap.h