diff options
-rw-r--r-- | fs/ceph/caps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 68ee78109224..20b28dc0c97c 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c | |||
@@ -1444,7 +1444,6 @@ retry_locked: | |||
1444 | ci->i_rdcache_gen && /* may have cached pages */ | 1444 | ci->i_rdcache_gen && /* may have cached pages */ |
1445 | (file_wanted == 0 || /* no open files */ | 1445 | (file_wanted == 0 || /* no open files */ |
1446 | (revoking & CEPH_CAP_FILE_CACHE)) && /* or revoking cache */ | 1446 | (revoking & CEPH_CAP_FILE_CACHE)) && /* or revoking cache */ |
1447 | !ci->i_truncate_pending && | ||
1448 | !tried_invalidate) { | 1447 | !tried_invalidate) { |
1449 | u32 invalidating_gen = ci->i_rdcache_gen; | 1448 | u32 invalidating_gen = ci->i_rdcache_gen; |
1450 | int ret; | 1449 | int ret; |