cifs: show features compiled in as part of DebugData
authorSuresh Jayaraman <sjayaraman@novell.com>
Fri, 30 Jul 2010 12:55:56 +0000 (18:25 +0530)
committerSteve French <sfrench@us.ibm.com>
Thu, 5 Aug 2010 17:17:50 +0000 (17:17 +0000)
commitf579903ef3e392251dc7e93cb521ddb622fbf8e0
tree289cbdd3b48ac5fe160ff10a62e2caee1c846884
parent95c99904f614f90797fc589c40c2050b8c1c42cb
cifs: show features compiled in as part of DebugData

Fixed the nit pointed out by Jeff.

From: Suresh Jayaraman <sjayaraman@suse.de>
Subject: [PATCH 1/2] cifs: show features compiled in as part of DebugData

This patch adds the features that are compiled in to the CIFS debugging data
as shown below:

$cat /proc/fs/cifs/DebugData
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.64
Features: dfs fscache posix spnego xattr
Active VFS Requests: 0
...

This patch provides a definitive way to tell what features are currently
enabled in the running kernel. This could also help debugging.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Cc: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_debug.c