mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
cifs: print last update time for interface list
We store the last updated time for interface list while parsing the interfaces. This change is to just print that info in DebugData. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
4e551dbdba
commit
05844bd661
@ -456,8 +456,10 @@ skip_rdma:
|
||||
|
||||
spin_lock(&ses->iface_lock);
|
||||
if (ses->iface_count)
|
||||
seq_printf(m, "\n\n\tServer interfaces: %zu",
|
||||
ses->iface_count);
|
||||
seq_printf(m, "\n\n\tServer interfaces: %zu"
|
||||
"\tLast updated: %lu seconds ago",
|
||||
ses->iface_count,
|
||||
(jiffies - ses->iface_last_update) / HZ);
|
||||
j = 0;
|
||||
list_for_each_entry(iface, &ses->iface_list,
|
||||
iface_head) {
|
||||
|
Loading…
Reference in New Issue
Block a user