diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-04-02 08:04:30 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-03-30 12:42:40 +0200 |
commit | f85122afeb230b4ad0b90ac40aba0fe6532baeea (patch) | |
tree | 18f4111a409899f7b05b795912fea24d0e6c9eac /fs/ceph/inode.c | |
parent | 3db0a2fc5668c6dc60218e0f55d2443bcd726aa0 (diff) | |
download | linux-f85122afeb230b4ad0b90ac40aba0fe6532baeea.tar.bz2 |
ceph: add refcounting for Fx caps
In future patches we'll be taking and relying on Fx caps. Add proper
refcounting for them.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r-- | fs/ceph/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index d01710a16a4a..094b8fc37787 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -496,6 +496,7 @@ struct inode *ceph_alloc_inode(struct super_block *sb) ci->i_rdcache_ref = 0; ci->i_wr_ref = 0; ci->i_wb_ref = 0; + ci->i_fx_ref = 0; ci->i_wrbuffer_ref = 0; ci->i_wrbuffer_ref_head = 0; atomic_set(&ci->i_filelock_ref, 0); |