mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
d8b16b3d1c
commit
7421ab8041
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue