Merge tag 'trace-v5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux-2.6-microblaze.git] / net / sunrpc / debugfs.c
index 827bf3a..7dc9cc9 100644 (file)
@@ -90,7 +90,7 @@ static int tasks_open(struct inode *inode, struct file *filp)
                struct seq_file *seq = filp->private_data;
                struct rpc_clnt *clnt = seq->private = inode->i_private;
 
-               if (!atomic_inc_not_zero(&clnt->cl_count)) {
+               if (!refcount_inc_not_zero(&clnt->cl_count)) {
                        seq_release(inode, filp);
                        ret = -EINVAL;
                }