cifs_debug.c (56d8b784c56588cd40f98e4b1d4f6e29e3cb02b8) cifs_debug.c (d14bbfff259cadb5af84413658699159556da156)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 *
4 * Copyright (C) International Business Machines Corp., 2000,2005
5 *
6 * Modified by Steve French (sfrench@us.ibm.com)
7 */
8#include <linux/fs.h>

--- 336 unchanged lines hidden (view full) ---

345#endif
346#ifdef CONFIG_CIFS_XATTR
347 seq_printf(m, ",XATTR");
348#endif
349 seq_printf(m, ",ACL");
350#ifdef CONFIG_CIFS_SWN_UPCALL
351 seq_puts(m, ",WITNESS");
352#endif
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 *
4 * Copyright (C) International Business Machines Corp., 2000,2005
5 *
6 * Modified by Steve French (sfrench@us.ibm.com)
7 */
8#include <linux/fs.h>

--- 336 unchanged lines hidden (view full) ---

345#endif
346#ifdef CONFIG_CIFS_XATTR
347 seq_printf(m, ",XATTR");
348#endif
349 seq_printf(m, ",ACL");
350#ifdef CONFIG_CIFS_SWN_UPCALL
351 seq_puts(m, ",WITNESS");
352#endif
353#ifdef CONFIG_CIFS_COMPRESSION
354 seq_puts(m, ",COMPRESSION");
355#endif
353 seq_putc(m, '\n');
354 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize);
355 seq_printf(m, "Active VFS Requests: %d\n", GlobalTotalActiveXid);
356
357 seq_printf(m, "\nServers: ");
358
359 c = 0;
360 spin_lock(&cifs_tcp_ses_lock);

--- 109 unchanged lines hidden (view full) ---

470 atomic_read(&server->num_waiters));
471
472 if (server->leaf_fullpath) {
473 seq_printf(m, "\nDFS leaf full path: %s",
474 server->leaf_fullpath);
475 }
476
477 seq_puts(m, "\nCompression: ");
356 seq_putc(m, '\n');
357 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize);
358 seq_printf(m, "Active VFS Requests: %d\n", GlobalTotalActiveXid);
359
360 seq_printf(m, "\nServers: ");
361
362 c = 0;
363 spin_lock(&cifs_tcp_ses_lock);

--- 109 unchanged lines hidden (view full) ---

473 atomic_read(&server->num_waiters));
474
475 if (server->leaf_fullpath) {
476 seq_printf(m, "\nDFS leaf full path: %s",
477 server->leaf_fullpath);
478 }
479
480 seq_puts(m, "\nCompression: ");
478 if (!server->compression.requested)
481 if (!IS_ENABLED(CONFIG_CIFS_COMPRESSION))
482 seq_puts(m, "no built-in support");
483 else if (!server->compression.requested)
479 seq_puts(m, "disabled on mount");
480 else if (server->compression.enabled)
481 seq_printf(m, "enabled (%s)", compression_alg_str(server->compression.alg));
482 else
483 seq_puts(m, "disabled (not supported by this server)");
484
485 seq_printf(m, "\n\n\tSessions: ");
486 i = 0;

--- 725 unchanged lines hidden ---
484 seq_puts(m, "disabled on mount");
485 else if (server->compression.enabled)
486 seq_printf(m, "enabled (%s)", compression_alg_str(server->compression.alg));
487 else
488 seq_puts(m, "disabled (not supported by this server)");
489
490 seq_printf(m, "\n\n\tSessions: ");
491 i = 0;

--- 725 unchanged lines hidden ---