Merge tag 'xfs-4.20-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[platform/kernel/linux-starfive.git] / fs / ocfs2 / refcounttree.c
index dc66b80..a35259e 100644 (file)
@@ -4135,7 +4135,6 @@ static int ocfs2_create_reflink_node(struct inode *s_inode,
        struct buffer_head *ref_root_bh = NULL;
        struct ocfs2_cached_dealloc_ctxt dealloc;
        struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb);
-       struct ocfs2_refcount_block *rb;
        struct ocfs2_dinode *di = (struct ocfs2_dinode *)s_bh->b_data;
        struct ocfs2_refcount_tree *ref_tree;
 
@@ -4162,7 +4161,6 @@ static int ocfs2_create_reflink_node(struct inode *s_inode,
                mlog_errno(ret);
                goto out;
        }
-       rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
 
        ret = ocfs2_duplicate_extent_list(s_inode, t_inode, t_bh,
                                          &ref_tree->rf_ci, ref_root_bh,