]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/ocfs2/cluster/netdebug.c
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / fs / ocfs2 / cluster / netdebug.c
index 27d1242c8383ba6a6962749cc4443d2feef77c93..564c504d6efd8c99f903e95d96a87b47ce7db36a 100644 (file)
@@ -349,7 +349,7 @@ static void sc_show_sock_container(struct seq_file *seq,
                   "  func key:        0x%08x\n"
                   "  func type:       %u\n",
                   sc,
-                  atomic_read(&sc->sc_kref.refcount),
+                  kref_read(&sc->sc_kref),
                   &saddr, inet ? ntohs(sport) : 0,
                   &daddr, inet ? ntohs(dport) : 0,
                   sc->sc_node->nd_name,