]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/sunrpc/cache.c
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / net / sunrpc / cache.c
index 8147e8d56eb214667a9d27a946bacde32637653d..f39e3e11f9aa283698ced6a8ca92fed5f68140e5 100644 (file)
@@ -1358,7 +1358,7 @@ static int c_show(struct seq_file *m, void *p)
        ifdebug(CACHE)
                seq_printf(m, "# expiry=%ld refcnt=%d flags=%lx\n",
                           convert_to_wallclock(cp->expiry_time),
-                          atomic_read(&cp->ref.refcount), cp->flags);
+                          kref_read(&cp->ref), cp->flags);
        cache_get(cp);
        if (cache_check(cd, cp, NULL))
                /* cache_check does a cache_put on failure */