Re: [PATCH 3/3] add mmap for direct,nobrl

Jeff Layton <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Wed, 24 Mar 2010 11:57:48 +0300
[email protected] wrote:

> diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> index 5183bc2..ded66be 100644
> --- a/fs/cifs/cifsfs.c
> +++ b/fs/cifs/cifsfs.c
> @@ -808,6 +808,7 @@ const struct file_operations cifs_file_direct_nobrl_ops = {
>  	.release = cifs_close,
>  	.fsync = cifs_fsync,
>  	.flush = cifs_flush,
> +	.mmap = cifs_file_mmap,
>  	.splice_read = generic_file_splice_read,
>  #ifdef CONFIG_CIFS_POSIX
>  	.unlocked_ioctl  = cifs_ioctl,
> 
>  Signed-off-by: Pavel Shilovsky <[email protected]>
> _______________________________________________
> linux-cifs-client mailing list
> [email protected]
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
> 

Patch is pretty straightforward, but a description of what this fixes
is still needed.

-- 
Jeff Layton <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.