cifs: print session id while listing open files
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 13 Mar 2023 12:17:34 +0000 (12:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:47:55 +0000 (12:47 +0200)
commitdf0462e4b3611c81c39510bed2d0d2047e580dd2
tree8bd9fbade166268367fda8e5926cc650816746b4
parent9a45df4ec39bd2762c27c2135c82354d47041783
cifs: print session id while listing open files

commit 175b54abc443b6965e9379b71ec05f7c73c192e9 upstream.

In the output of /proc/fs/cifs/open_files, we only print
the tree id for the tcon of each open file. It becomes
difficult to know which tcon these files belong to with
just the tree id.

This change dumps ses id in addition to all other data today.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/cifs_debug.c