diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-04-07 08:12:42 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-05-25 21:45:13 +0300 |
commit | 68e5ec2ec94576bee4d5280d512ed47e6f876baf (patch) | |
tree | 78300255c38ff071bfd539e493cbb3cf91a3cd02 /fs/ceph | |
parent | 3ffa9d6f991facd370fe35fd7fcbdbf5d1063afd (diff) | |
download | linux-68e5ec2ec94576bee4d5280d512ed47e6f876baf.tar.xz |
ceph: no need to invalidate the fscache twice
Fixes: 400e1286c0ec3 ("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>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index f9b68b2c9b12..e6065483c36b 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -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)); |