diff options
author | Sage Weil <sage@newdream.net> | 2010-11-07 09:07:15 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-11-07 09:07:15 -0800 |
commit | 7421ab8041d98363edfb85955fa3b9849ffae366 (patch) | |
tree | d1ae0dbaf56ed8f56849f4199626a303ec86b03d /fs/generic_acl.c | |
parent | d8b16b3d1c9d8d9124d647d05797383d35e2d645 (diff) | |
download | kernel_samsung_smdk4412-7421ab8041d98363edfb85955fa3b9849ffae366.zip kernel_samsung_smdk4412-7421ab8041d98363edfb85955fa3b9849ffae366.tar.gz kernel_samsung_smdk4412-7421ab8041d98363edfb85955fa3b9849ffae366.tar.bz2 |
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>
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions