@@ -5,7 +5,7 @@
ccflags-y += -I$(src) # needed for trace events
obj-$(CONFIG_CIFS) += cifs.o
-cifs-y := trace.o cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o \
+cifs-y := trace.o cifsfs.o cifssmb.o proc.o connect.o dir.o file.o \
inode.o link.o misc.o netmisc.o smbencrypt.o transport.o \
cifs_unicode.o nterr.o cifsencrypt.o \
readdir.o ioctl.o sess.o export.o unc.o winucase.o \
@@ -4,7 +4,7 @@
#include <linux/kernel.h>
#include <linux/oid_registry.h>
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifsproto.h"
#include "cifs_spnego_negtokeninit.asn1.h"
@@ -20,7 +20,7 @@
#include "cifsproto.h"
#include "cifsfs.h"
#include "dns_resolve.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_unicode.h"
#include "dfs_cache.h"
#include "fs_context.h"
@@ -16,7 +16,7 @@
#include <linux/inet.h>
#include "cifsglob.h"
#include "cifs_spnego.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifsproto.h"
static const struct cred *spnego_cred;
@@ -13,7 +13,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "fscache.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "netlink.h"
static DEFINE_IDR(cifs_swnreg_idr);
@@ -11,7 +11,7 @@
#include "cifs_uniupr.h"
#include "cifspdu.h"
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
int cifs_remap(struct cifs_sb_info *cifs_sb)
{
@@ -18,7 +18,7 @@
#include "cifsglob.h"
#include "cifsacl.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "fs_context.h"
/* security id for everyone/world system group */
@@ -13,7 +13,7 @@
#include <linux/slab.h>
#include "cifspdu.h"
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_unicode.h"
#include "cifsproto.h"
#include "ntlmssp.h"
@@ -33,7 +33,7 @@
#define DECLARE_GLOBALS_HERE
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include <linux/mm.h>
#include <linux/key-type.h>
@@ -28,7 +28,7 @@
#include "cifsacl.h"
#include "cifsproto.h"
#include "cifs_unicode.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "smb2proto.h"
#include "fscache.h"
#include "smbdirect.h"
@@ -36,7 +36,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_unicode.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "ntlmssp.h"
#include "nterr.h"
similarity index 61%
rename from fs/cifs/cifs_debug.h
rename to fs/cifs/debug.h
@@ -5,20 +5,18 @@
* Modified by Steve French (sfrench@us.ibm.com)
*/
-#ifndef _H_CIFS_DEBUG
-#define _H_CIFS_DEBUG
+#ifndef _CIFS_DEBUG_H
+#define _CIFS_DEBUG_H
-#ifdef pr_fmt
#undef pr_fmt
-#endif
-
#define pr_fmt(fmt) "CIFS: " fmt
-void cifs_dump_mem(char *label, void *data, int length);
-void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info);
-void cifs_dump_mids(struct TCP_Server_Info *);
+static inline void cifs_dump_mem(char *label, void *data, int length);
+static inline void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info);
+static inline void cifs_dump_mids(struct TCP_Server_Info *);
extern bool traceSMB; /* flag which enables the function below */
void dump_smb(void *, int);
+
#define CIFS_INFO 0x01
#define CIFS_RC 0x02
#define CIFS_TIMER 0x04
@@ -34,12 +32,9 @@ extern int cifsFYI;
#define ONCE 8
/*
- * debug ON
- * --------
+ * debug ON
*/
#ifdef CONFIG_CIFS_DEBUG
-
-
/*
* When adding tracepoints and debug messages we have various choices.
* Some considerations:
@@ -130,31 +125,70 @@ do { \
} while (0)
/*
- * debug OFF
- * ---------
+ * helpers
*/
-#else /* _CIFS_DEBUG */
-#define cifs_dbg(type, fmt, ...) \
-do { \
- if (0) \
- pr_debug(fmt, ##__VA_ARGS__); \
-} while (0)
-
-#define cifs_server_dbg(type, fmt, ...) \
-do { \
- if (0) \
- pr_debug("\\\\%s " fmt, \
- server->hostname, ##__VA_ARGS__); \
-} while (0)
-
-#define cifs_tcon_dbg(type, fmt, ...) \
-do { \
- if (0) \
- pr_debug("%s " fmt, tcon->treeName, ##__VA_ARGS__); \
-} while (0)
-
-#define cifs_info(fmt, ...) \
- pr_info(fmt, ##__VA_ARGS__)
-#endif
-
-#endif /* _H_CIFS_DEBUG */
+static inline void cifs_dump_mem(char *label, void *data, int length)
+{
+ pr_debug("%s: dump of %d bytes of data at 0x%p\n", label, length, data);
+ print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 4,
+ data, length, true);
+}
+
+static inline void cifs_dump_detail(void *buf, struct TCP_Server_Info *server)
+{
+#ifdef CONFIG_CIFS_DEBUG2
+ struct smb_hdr *smb = buf;
+
+ cifs_dbg(VFS, "Cmd: %d Err: 0x%x Flags: 0x%x Flgs2: 0x%x Mid: %d Pid: %d\n",
+ smb->Command, smb->Status.CifsError,
+ smb->Flags, smb->Flags2, smb->Mid, smb->Pid);
+ cifs_dbg(VFS, "smb buf %p len %u\n", smb,
+ server->ops->calc_smb_size(smb, server));
+#endif /* CONFIG_CIFS_DEBUG2 */
+}
+
+static inline void cifs_dump_mids(struct TCP_Server_Info *server)
+{
+#ifdef CONFIG_CIFS_DEBUG2
+ struct mid_q_entry *mid_entry;
+
+ if (server == NULL)
+ return;
+
+ cifs_dbg(VFS, "Dump pending requests:\n");
+ spin_lock(&GlobalMid_Lock);
+ list_for_each_entry(mid_entry, &server->pending_mid_q, qhead) {
+ cifs_dbg(VFS, "State: %d Cmd: %d Pid: %d Cbdata: %p Mid %llu\n",
+ mid_entry->mid_state,
+ le16_to_cpu(mid_entry->command),
+ mid_entry->pid,
+ mid_entry->callback_data,
+ mid_entry->mid);
+#ifdef CONFIG_CIFS_STATS2
+ cifs_dbg(VFS, "IsLarge: %d buf: %p time rcv: %ld now: %ld\n",
+ mid_entry->large_buf,
+ mid_entry->resp_buf,
+ mid_entry->when_received,
+ jiffies);
+#endif /* STATS2 */
+ cifs_dbg(VFS, "IsMult: %d IsEnd: %d\n",
+ mid_entry->multiRsp, mid_entry->multiEnd);
+ if (mid_entry->resp_buf) {
+ cifs_dump_detail(mid_entry->resp_buf, server);
+ cifs_dump_mem("existing buf: ",
+ mid_entry->resp_buf, 62);
+ }
+ }
+ spin_unlock(&GlobalMid_Lock);
+#endif /* CONFIG_CIFS_DEBUG2 */
+}
+#else /* CONFIG_CIFS_DEBUG */
+/*
+ * debug OFF
+ */
+#define cifs_dbg(type, fmt, ...)
+#define cifs_server_dbg(type, fmt, ...)
+#define cifs_tcon_dbg(type, fmt, ...)
+#define cifs_info(fmt, ...) pr_info(fmt, ##__VA_ARGS__)
+#endif /* CONFIG_CIFS_DEBUG */
+#endif /* _CIFS_DEBUG_H */
@@ -16,7 +16,7 @@
#include "smb2pdu.h"
#include "smb2proto.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_unicode.h"
#include "smb2glob.h"
#include "dns_resolve.h"
@@ -17,7 +17,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
#include "fs_context.h"
@@ -17,7 +17,7 @@
#include "dns_resolve.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
/**
* dns_resolve_server_name_to_ip - Resolve UNC server name to ip address.
@@ -29,7 +29,7 @@
#include <linux/fs.h>
#include <linux/exportfs.h>
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifsfs.h"
#ifdef CONFIG_CIFS_NFSD_EXPORT
@@ -27,7 +27,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_unicode.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "fscache.h"
#include "smbdirect.h"
@@ -30,7 +30,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_unicode.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "ntlmssp.h"
#include "nterr.h"
@@ -8,7 +8,7 @@
*/
#include "fscache.h"
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifsproto.h"
@@ -19,7 +19,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "smb2proto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
#include "fscache.h"
@@ -16,7 +16,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifsfs.h"
#include "cifs_ioctl.h"
#include "smb2proto.h"
@@ -13,7 +13,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
#include "smb2proto.h"
@@ -13,7 +13,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "smberr.h"
#include "nterr.h"
#include "cifs_unicode.h"
@@ -10,7 +10,7 @@
#include "netlink.h"
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_swn.h"
static const struct nla_policy cifs_genl_policy[CIFS_GENL_ATTR_MAX + 1] = {
@@ -21,7 +21,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "smberr.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "nterr.h"
struct smb_to_posix_error {
similarity index 92%
rename from fs/cifs/cifs_debug.c
rename to fs/cifs/proc.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- *
* Copyright (C) International Business Machines Corp., 2000,2005
*
* Modified by Steve French (sfrench@us.ibm.com)
@@ -14,7 +13,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifsfs.h"
#include "fs_context.h"
#ifdef CONFIG_CIFS_DFS_UPCALL
@@ -25,65 +24,16 @@
#endif
#include "cifs_swn.h"
-void
-cifs_dump_mem(char *label, void *data, int length)
-{
- pr_debug("%s: dump of %d bytes of data at 0x%p\n", label, length, data);
- print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 4,
- data, length, true);
-}
-
-void cifs_dump_detail(void *buf, struct TCP_Server_Info *server)
-{
-#ifdef CONFIG_CIFS_DEBUG2
- struct smb_hdr *smb = buf;
-
- cifs_dbg(VFS, "Cmd: %d Err: 0x%x Flags: 0x%x Flgs2: 0x%x Mid: %d Pid: %d\n",
- smb->Command, smb->Status.CifsError,
- smb->Flags, smb->Flags2, smb->Mid, smb->Pid);
- cifs_dbg(VFS, "smb buf %p len %u\n", smb,
- server->ops->calc_smb_size(smb, server));
-#endif /* CONFIG_CIFS_DEBUG2 */
-}
-
-void cifs_dump_mids(struct TCP_Server_Info *server)
-{
-#ifdef CONFIG_CIFS_DEBUG2
- struct mid_q_entry *mid_entry;
-
- if (server == NULL)
- return;
-
- cifs_dbg(VFS, "Dump pending requests:\n");
- spin_lock(&GlobalMid_Lock);
- list_for_each_entry(mid_entry, &server->pending_mid_q, qhead) {
- cifs_dbg(VFS, "State: %d Cmd: %d Pid: %d Cbdata: %p Mid %llu\n",
- mid_entry->mid_state,
- le16_to_cpu(mid_entry->command),
- mid_entry->pid,
- mid_entry->callback_data,
- mid_entry->mid);
-#ifdef CONFIG_CIFS_STATS2
- cifs_dbg(VFS, "IsLarge: %d buf: %p time rcv: %ld now: %ld\n",
- mid_entry->large_buf,
- mid_entry->resp_buf,
- mid_entry->when_received,
- jiffies);
-#endif /* STATS2 */
- cifs_dbg(VFS, "IsMult: %d IsEnd: %d\n",
- mid_entry->multiRsp, mid_entry->multiEnd);
- if (mid_entry->resp_buf) {
- cifs_dump_detail(mid_entry->resp_buf, server);
- cifs_dump_mem("existing buf: ",
- mid_entry->resp_buf, 62);
- }
- }
- spin_unlock(&GlobalMid_Lock);
-#endif /* CONFIG_CIFS_DEBUG2 */
-}
-
#ifdef CONFIG_PROC_FS
-static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)
+static struct proc_dir_entry *proc_fs_cifs;
+static const struct proc_ops cifsFYI_proc_ops;
+static const struct proc_ops cifs_lookup_cache_proc_ops;
+static const struct proc_ops traceSMB_proc_ops;
+static const struct proc_ops cifs_security_flags_proc_ops;
+static const struct proc_ops cifs_linux_ext_proc_ops;
+static const struct proc_ops cifs_mount_params_proc_ops;
+
+static void cifs_dump_tcon(struct seq_file *m, struct cifs_tcon *tcon)
{
__u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType);
@@ -123,8 +73,7 @@ static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)
seq_putc(m, '\n');
}
-static void
-cifs_dump_channel(struct seq_file *m, int i, struct cifs_chan *chan)
+static void cifs_dump_channel(struct seq_file *m, int i, struct cifs_chan *chan)
{
struct TCP_Server_Info *server = chan->server;
@@ -145,8 +94,7 @@ cifs_dump_channel(struct seq_file *m, int i, struct cifs_chan *chan)
atomic_read(&server->num_waiters));
}
-static void
-cifs_dump_iface(struct seq_file *m, struct cifs_server_iface *iface)
+static void cifs_dump_iface(struct seq_file *m, struct cifs_server_iface *iface)
{
struct sockaddr_in *ipv4 = (struct sockaddr_in *)&iface->sockaddr;
struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)&iface->sockaddr;
@@ -435,14 +383,14 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
seq_printf(m, "\n\t%d) IPC: ", j);
if (ses->tcon_ipc)
- cifs_debug_tcon(m, ses->tcon_ipc);
+ cifs_dump_tcon(m, ses->tcon_ipc);
else
seq_puts(m, "none\n");
list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
++j;
seq_printf(m, "\n\t%d) ", j);
- cifs_debug_tcon(m, tcon);
+ cifs_dump_tcon(m, tcon);
}
spin_lock(&ses->iface_lock);
@@ -669,16 +617,7 @@ PROC_FILE_DEFINE(smbd_send_credit_target);
PROC_FILE_DEFINE(smbd_receive_credit_max);
#endif
-static struct proc_dir_entry *proc_fs_cifs;
-static const struct proc_ops cifsFYI_proc_ops;
-static const struct proc_ops cifs_lookup_cache_proc_ops;
-static const struct proc_ops traceSMB_proc_ops;
-static const struct proc_ops cifs_security_flags_proc_ops;
-static const struct proc_ops cifs_linux_ext_proc_ops;
-static const struct proc_ops cifs_mount_params_proc_ops;
-
-void
-cifs_proc_init(void)
+void cifs_proc_init(void)
{
proc_fs_cifs = proc_mkdir("fs/cifs", NULL);
if (proc_fs_cifs == NULL)
@@ -726,8 +665,7 @@ cifs_proc_init(void)
#endif
}
-void
-cifs_proc_clean(void)
+void cifs_proc_clean(void)
{
if (proc_fs_cifs == NULL)
return;
@@ -906,8 +844,7 @@ static int cifs_security_flags_proc_open(struct inode *inode, struct file *file)
* flags except for the ones corresponding to the given MUST flag. If there are
* multiple MUST flags, then try to prefer more secure ones.
*/
-static void
-cifs_security_flags_handle_must_flags(unsigned int *flags)
+static void cifs_security_flags_handle_must_flags(unsigned int *flags)
{
unsigned int signflags = *flags & CIFSSEC_MUST_SIGN;
@@ -1033,16 +970,8 @@ static const struct proc_ops cifs_mount_params_proc_ops = {
.proc_read = seq_read,
.proc_lseek = seq_lseek,
.proc_release = single_release,
- /* No need for write for now */
- /* .proc_write = cifs_mount_params_proc_write, */
};
-
-#else
-inline void cifs_proc_init(void)
-{
-}
-
-inline void cifs_proc_clean(void)
-{
-}
+#else /* CONFIG_PROC_FS */
+inline void cifs_proc_init(void) {}
+inline void cifs_proc_clean(void) {}
#endif /* PROC_FS */
@@ -16,7 +16,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_unicode.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifsfs.h"
#include "smb2proto.h"
@@ -12,7 +12,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_unicode.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "ntlmssp.h"
#include "nterr.h"
#include <linux/utsname.h>
@@ -10,7 +10,7 @@
#include <uapi/linux/magic.h>
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifspdu.h"
#include "cifs_unicode.h"
#include "fs_context.h"
@@ -15,7 +15,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
#include "fscache.h"
@@ -16,7 +16,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
#include "fscache.h"
@@ -9,7 +9,7 @@
*/
#include <linux/errno.h>
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "smb2pdu.h"
#include "smb2proto.h"
#include "smb2status.h"
@@ -11,7 +11,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "smb2proto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_unicode.h"
#include "smb2status.h"
#include "smb2glob.h"
@@ -19,7 +19,7 @@
#include "smb2pdu.h"
#include "smb2proto.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_unicode.h"
#include "smb2status.h"
#include "smb2glob.h"
@@ -28,7 +28,7 @@
#include "cifsproto.h"
#include "smb2proto.h"
#include "cifs_unicode.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "ntlmssp.h"
#include "smb2status.h"
#include "smb2glob.h"
@@ -22,7 +22,7 @@
#include "cifsglob.h"
#include "cifsproto.h"
#include "smb2proto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "smb2status.h"
#include "smb2glob.h"
@@ -7,7 +7,7 @@
#include <linux/module.h>
#include <linux/highmem.h>
#include "smbdirect.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifsproto.h"
#include "smb2proto.h"
@@ -22,7 +22,7 @@
#include "cifs_unicode.h"
#include "cifspdu.h"
#include "cifsglob.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifsproto.h"
#include "../smbfs_common/md4.h"
@@ -24,7 +24,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "smb2proto.h"
#include "smbdirect.h"
@@ -14,7 +14,7 @@
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
-#include "cifs_debug.h"
+#include "debug.h"
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
#include "cifs_ioctl.h"
Leave debugging helpers/functions in debug.h, and create a proc.c file for procfs specifics. Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> --- fs/cifs/Makefile | 2 +- fs/cifs/asn1.c | 2 +- fs/cifs/cifs_dfs_ref.c | 2 +- fs/cifs/cifs_spnego.c | 2 +- fs/cifs/cifs_swn.c | 2 +- fs/cifs/cifs_unicode.c | 2 +- fs/cifs/cifsacl.c | 2 +- fs/cifs/cifsencrypt.c | 2 +- fs/cifs/cifsfs.c | 2 +- fs/cifs/cifssmb.c | 2 +- fs/cifs/connect.c | 2 +- fs/cifs/{cifs_debug.h => debug.h} | 112 +++++++++++++++++++----------- fs/cifs/dfs_cache.c | 2 +- fs/cifs/dir.c | 2 +- fs/cifs/dns_resolve.c | 2 +- fs/cifs/export.c | 2 +- fs/cifs/file.c | 2 +- fs/cifs/fs_context.c | 2 +- fs/cifs/fscache.c | 2 +- fs/cifs/inode.c | 2 +- fs/cifs/ioctl.c | 2 +- fs/cifs/link.c | 2 +- fs/cifs/misc.c | 2 +- fs/cifs/netlink.c | 2 +- fs/cifs/netmisc.c | 2 +- fs/cifs/{cifs_debug.c => proc.c} | 111 ++++++----------------------- fs/cifs/readdir.c | 2 +- fs/cifs/sess.c | 2 +- fs/cifs/smb1ops.c | 2 +- fs/cifs/smb2file.c | 2 +- fs/cifs/smb2inode.c | 2 +- fs/cifs/smb2maperror.c | 2 +- fs/cifs/smb2misc.c | 2 +- fs/cifs/smb2ops.c | 2 +- fs/cifs/smb2pdu.c | 2 +- fs/cifs/smb2transport.c | 2 +- fs/cifs/smbdirect.c | 2 +- fs/cifs/smbencrypt.c | 2 +- fs/cifs/transport.c | 2 +- fs/cifs/xattr.c | 2 +- 40 files changed, 131 insertions(+), 168 deletions(-) rename fs/cifs/{cifs_debug.h => debug.h} (61%) rename fs/cifs/{cifs_debug.c => proc.c} (92%)