From 05752278d46fe5776d54d3b58f8c8a88e67a2179 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 18 Mar 2009 10:44:49 -0700 Subject: [PATCH] mds: make CAP_FILE_RD expireable --- src/include/ceph_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/ceph_fs.h b/src/include/ceph_fs.h index d7607fc3c6df5..873cb5f5fbdb7 100644 --- a/src/include/ceph_fs.h +++ b/src/include/ceph_fs.h @@ -992,7 +992,7 @@ static inline int ceph_flags_to_mode(int flags) * these cap bits time out, if no others are held and nothing is * registered as 'wanted' by the client. */ -#define CEPH_CAP_EXPIREABLE (CEPH_CAP_PIN|CEPH_CAP_ANY_RDCACHE) +#define CEPH_CAP_EXPIREABLE (CEPH_CAP_PIN|CEPH_CAP_ANY_RDCACHE|CEPH_CAP_FILE_RD) static inline int ceph_caps_for_mode(int mode) { -- 2.39.5