forked from Minki/linux
ceph: no need to invalidate the fscache twice
Fixes: 400e1286c0
("ceph: conversion to new fscache API")
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
3ffa9d6f99
commit
68e5ec2ec9
@ -1886,7 +1886,6 @@ static void ceph_do_invalidate_pages(struct inode *inode)
|
||||
orig_gen = ci->i_rdcache_gen;
|
||||
spin_unlock(&ci->i_ceph_lock);
|
||||
|
||||
ceph_fscache_invalidate(inode, false);
|
||||
if (invalidate_inode_pages2(inode->i_mapping) < 0) {
|
||||
pr_err("invalidate_inode_pages2 %llx.%llx failed\n",
|
||||
ceph_vinop(inode));
|
||||
|
Loading…
Reference in New Issue
Block a user