]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add docstring for MDSAuthCaps::path_capable
authorJohn Spray <john.spray@redhat.com>
Fri, 27 Nov 2015 12:28:35 +0000 (12:28 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 5 Jan 2016 14:05:04 +0000 (14:05 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDSAuthCaps.h

index 0ecf8ac4a0a693a00371009971713f69023af37b..ccf2857b70bfe73de9dbed7fcbf050c291647951 100644 (file)
@@ -95,6 +95,12 @@ struct MDSCapMatch {
             const int caller_uid,
             const int caller_gid) const;
 
+  /**
+   * Check whether this path *might* be accessible (actual permission
+   * depends on the stronger check in match()).
+   *
+   * @param target_path filesystem path without leading '/'
+   */
   bool match_path(const std::string &target_path) const;
 };