TO: Jeff Layton <[email protected]>
tree: git://git.samba.org/jlayton/linux nfsd-wq
head: b94396fae60bcef5aba063ac5dfe993ee6d80b1a
commit: 8f1f0f0637734baf4fc5ea6ba7abb81f45739b4a [6/32] sunrpc: add debugfs
file for displaying client rpc_task queue
:::::: branch date: 77 minutes ago
:::::: commit date: 4 days ago
net/sunrpc/debugfs.c:93 tasks_next() warn: inconsistent returns
'spin_lock:&clnt->cl_lock'.
git remote add jlayton git://git.samba.org/jlayton/linux
git remote update jlayton
git checkout 8f1f0f0637734baf4fc5ea6ba7abb81f45739b4a
vim +93 net/sunrpc/debugfs.c
8f1f0f06 Jeff Layton 2014-11-13 77
8f1f0f06 Jeff Layton 2014-11-13 78 /* We're finished with this client,
move on */
8f1f0f06 Jeff Layton 2014-11-13 79 spin_unlock(&clnt->cl_lock);
8f1f0f06 Jeff Layton 2014-11-13 80 next_client:
8f1f0f06 Jeff Layton 2014-11-13 81 next = clnt->cl_clients.next;
8f1f0f06 Jeff Layton 2014-11-13 82 if (next == &sn->all_clients)
8f1f0f06 Jeff Layton 2014-11-13 83 return NULL;
8f1f0f06 Jeff Layton 2014-11-13 84
8f1f0f06 Jeff Layton 2014-11-13 85 clnt = list_entry(next, struct
rpc_clnt, cl_clients);
8f1f0f06 Jeff Layton 2014-11-13 86 if (list_empty(&clnt->cl_tasks))
8f1f0f06 Jeff Layton 2014-11-13 87 goto next_client;
8f1f0f06 Jeff Layton 2014-11-13 88 spin_lock(&clnt->cl_lock);
8f1f0f06 Jeff Layton 2014-11-13 89 if (list_empty(&clnt->cl_tasks)) {
8f1f0f06 Jeff Layton 2014-11-13 90 spin_unlock(&clnt->cl_lock);
8f1f0f06 Jeff Layton 2014-11-13 91 goto next_client;
8f1f0f06 Jeff Layton 2014-11-13 92 }
8f1f0f06 Jeff Layton 2014-11-13 @93 return
list_first_entry(&clnt->cl_tasks, struct rpc_task, tk_task);
8f1f0f06 Jeff Layton 2014-11-13 94 }
8f1f0f06 Jeff Layton 2014-11-13 95
8f1f0f06 Jeff Layton 2014-11-13 96 static void
8f1f0f06 Jeff Layton 2014-11-13 97 tasks_stop(struct seq_file *f, void *v)
8f1f0f06 Jeff Layton 2014-11-13 98 __releases(&sn->rpc_client_lock)
8f1f0f06 Jeff Layton 2014-11-13 99 __releases(&clnt->cl_lock)
8f1f0f06 Jeff Layton 2014-11-13 100 {
8f1f0f06 Jeff Layton 2014-11-13 101 struct rpc_task *task = v;
---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild