diff options
author | Yan, Zheng <zyan@redhat.com> | 2018-04-25 05:30:23 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 14:45:55 -0400 |
commit | 49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee (patch) | |
tree | 7402e8789a4102a387512fd195b703d3da32eaf7 /fs/ceph/caps.c | |
parent | 4e9906e7985b962ca3b9f8ab66c0353e6e3ab45e (diff) |
ceph: always get rstat from auth mds
rstat is not tracked by capability. client can't know if rstat from
non-auth mds is uptodate or not.
Link: http://tracker.ceph.com/issues/23538
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r-- | fs/ceph/caps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 23dbfae16156..1b9f611c9dfe 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c | |||
@@ -69,6 +69,8 @@ static char *gcap_string(char *s, int c) | |||
69 | *s++ = 'w'; | 69 | *s++ = 'w'; |
70 | if (c & CEPH_CAP_GBUFFER) | 70 | if (c & CEPH_CAP_GBUFFER) |
71 | *s++ = 'b'; | 71 | *s++ = 'b'; |
72 | if (c & CEPH_CAP_GWREXTEND) | ||
73 | *s++ = 'a'; | ||
72 | if (c & CEPH_CAP_GLAZYIO) | 74 | if (c & CEPH_CAP_GLAZYIO) |
73 | *s++ = 'l'; | 75 | *s++ = 'l'; |
74 | return s; | 76 | return s; |