]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: behave if we can't getattr parents of mount point
authorSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 20:48:17 +0000 (16:48 -0400)
committerSage Weil <sage@redhat.com>
Thu, 1 Oct 2015 13:39:32 +0000 (09:39 -0400)
commit807d36931f83e643e603f22d65e1ab3d6f550823
tree14b1758a7de934681ffc8e0840fd27fa2f177177
parent4ce4b58056d46b48ed58bb6e6e2f446e804c3a0a
client: behave if we can't getattr parents of mount point

If our cap locks us into a subdirectory (e.g., /foo), we will fail to
getattr on its parents (e.g., /).  This is expected.  Tolerate this case,
and warn that quotas may misbehave in that case (if they are set on one of
those parents).

Signed-off-by: Sage Weil <sage@redhat.com>
src/client/Client.cc