]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Don't display the rpc_show_tasks header if there are no tasks
authorChuck Lever <chuck.lever@oracle.com>
Wed, 21 May 2008 21:09:26 +0000 (17:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:08:55 +0000 (12:08 -0400)
commit68a23ee94e3a06819f5a39d64f2e1f3131bab12d
tree47b9e954ccbd2ead56307f64516da91298153b9a
parentb0e1c57ea00302c3ac541ffd37e7db07d13cd674
SUNRPC: Don't display the rpc_show_tasks header if there are no tasks

Clean up: don't display the rpc_show_tasks column header unless there is at
least one task to display.  As far as I can tell, it is safe to let the
list_for_each_entry macro decide that each list is empty.

scripts/checkpatch.pl also wants a KERN_FOO at the start of any newly added
printk() calls, so this and subsequent patches will also add KERN_INFO.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c