Re: [PATCH 04/11] cifs: add witness mount option and data structs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samuel Cabrero <scabrero@xxxxxxx> writes:
> diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> index 8111d0109a2e..c2bbc444b463 100644
> --- a/fs/cifs/cifsfs.c
> +++ b/fs/cifs/cifsfs.c
> @@ -637,6 +637,11 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
>  		seq_printf(s, ",multichannel,max_channels=%zu",
>  			   tcon->ses->chan_max);
>  
> +#ifdef CONFIG_CIFS_SWN_UPCALL
> +	if (tcon->use_witness)
> +		seq_puts(s, ",witness");
> +#endif
> +

You should print it in cifs_debug_tcon() and print the KConfig option in
cifs_debug_data_proc_show().

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux