commit | 7421ab8041d98363edfb85955fa3b9849ffae366 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Sun Nov 07 09:07:15 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Sun Nov 07 09:07:15 2010 -0800 |
tree | d1ae0dbaf56ed8f56849f4199626a303ec86b03d | |
parent | d8b16b3d1c9d8d9124d647d05797383d35e2d645 [diff] |
ceph: fix open for write on clustered mds Normally when we open a file we already have a cap, and simply update the wanted set. However, if we open a file for write, but don't have an auth cap, that doesn't work; we need to open a new cap with the auth MDS. Only reuse existing caps if we are opening for read or the existing cap is auth. Signed-off-by: Sage Weil <sage@newdream.net>