]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: drop MAY_CREATE
authorSage Weil <sage@redhat.com>
Thu, 3 Sep 2015 16:44:20 +0000 (12:44 -0400)
committerSage Weil <sage@redhat.com>
Thu, 1 Oct 2015 13:42:36 +0000 (09:42 -0400)
commite54ff357a81d6ad030c45c0124947b14656cf3a3
tree7b3390c93e9233a8fe6d1db0e6285bfa2698445b
parent96ee6c9f6c6512d6dee07afe16b32d0813b8af54
mds: drop MAY_CREATE

The check is a no-op.  We already verify the uid/gid combo is valid and
that the dir is writeable with MAY_WRITE.  The new file is always set to
the caller uid:gid.

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