Skip to content

Commit 68e5ec2

Browse files
lxbszidryomov
authored andcommitted
ceph: no need to invalidate the fscache twice
Fixes: 400e128 ("ceph: conversion to new fscache API") Signed-off-by: Xiubo Li <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent 3ffa9d6 commit 68e5ec2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/ceph/inode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,6 @@ static void ceph_do_invalidate_pages(struct inode *inode)
18861886
orig_gen = ci->i_rdcache_gen;
18871887
spin_unlock(&ci->i_ceph_lock);
18881888

1889-
ceph_fscache_invalidate(inode, false);
18901889
if (invalidate_inode_pages2(inode->i_mapping) < 0) {
18911890
pr_err("invalidate_inode_pages2 %llx.%llx failed\n",
18921891
ceph_vinop(inode));

0 commit comments

Comments
 (0)