]> Git Repo - linux.git/blobdiff - fs/afs/proc.c
clk: Stop forwarding clk_rate_requests to the parent
[linux.git] / fs / afs / proc.c
index e1b863449296c32a93408d72ba1c88a0c7ddf944..2a0c83d71565981eee8d1a265e35304d0a19b56c 100644 (file)
@@ -47,7 +47,7 @@ static int afs_proc_cells_show(struct seq_file *m, void *v)
 
        /* display one cell per line on subsequent lines */
        seq_printf(m, "%3u %3u %6lld %2u %2u %s\n",
-                  atomic_read(&cell->ref),
+                  refcount_read(&cell->ref),
                   atomic_read(&cell->active),
                   cell->dns_expiry - ktime_get_real_seconds(),
                   vllist ? vllist->nr_servers : 0,
@@ -217,7 +217,7 @@ static int afs_proc_cell_volumes_show(struct seq_file *m, void *v)
        }
 
        seq_printf(m, "%3d %08llx %s %s\n",
-                  atomic_read(&vol->usage), vol->vid,
+                  refcount_read(&vol->ref), vol->vid,
                   afs_vol_types[vol->type],
                   vol->name);
 
@@ -388,7 +388,7 @@ static int afs_proc_servers_show(struct seq_file *m, void *v)
        alist = rcu_dereference(server->addresses);
        seq_printf(m, "%pU %3d %3d\n",
                   &server->uuid,
-                  atomic_read(&server->ref),
+                  refcount_read(&server->ref),
                   atomic_read(&server->active));
        seq_printf(m, "  - info: fl=%lx rtt=%u brk=%x\n",
                   server->flags, server->rtt, server->cb_s_break);
This page took 0.033838 seconds and 4 git commands to generate.