aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/caps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index 3cff67cbb9c0..3c03460f48bd 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -1534,7 +1534,7 @@ retry_locked:
1534 */ 1534 */
1535 if ((!is_delayed || mdsc->stopping) && 1535 if ((!is_delayed || mdsc->stopping) &&
1536 ci->i_wrbuffer_ref == 0 && /* no dirty pages... */ 1536 ci->i_wrbuffer_ref == 0 && /* no dirty pages... */
1537 ci->i_rdcache_gen && /* may have cached pages */ 1537 inode->i_data.nrpages && /* have cached pages */
1538 (file_wanted == 0 || /* no open files */ 1538 (file_wanted == 0 || /* no open files */
1539 (revoking & (CEPH_CAP_FILE_CACHE| 1539 (revoking & (CEPH_CAP_FILE_CACHE|
1540 CEPH_CAP_FILE_LAZYIO))) && /* or revoking cache */ 1540 CEPH_CAP_FILE_LAZYIO))) && /* or revoking cache */