]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix readdir pingpong on snapped dir with multiple mds
authorSage Weil <sage@newdream.net>
Fri, 21 May 2010 19:08:17 +0000 (12:08 -0700)
committerSage Weil <sage@newdream.net>
Fri, 21 May 2010 19:08:35 +0000 (12:08 -0700)
commit929048f98f4b4aaad9aeb97d765d765b62af0a0c
treeee61f59703d19013a4ab228708ac8f6d68582397
parentcd1b07101184ee45394e889aece520dee9a26924
mds: fix readdir pingpong on snapped dir with multiple mds

Our traverse helper will follow the auth if we're looking at snapped
metadata, but we _don't_ want that for readdir because we check auth
ourselves, and want the dir's auth, not the inode's.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/Server.cc
src/mds/Server.h