[linux-cifs-client] Re: [PATCH] [CIFS] Always match oplock break (cache notification)s to the right tcp session when multiply mounted

Linus Torvalds torvalds at osdl.org
Sat Mar 4 23:29:59 GMT 2006


Steve,

 this patch is totally corrupt. 

Not only was it encoded as "format=flowed" and is thus totally whitespace 
damaged, it actually has lines missing at the top (there's no diff 
header: notice how the "@@" line just starts on its own..).

		Linus

On Sat, 4 Mar 2006, Steve French wrote:
> 
> Acked-by:  Shaggy (shaggy at austin.ibm.com)
> Signed-off-by: Steve French (sfrench at us.ibm.com)
> 
>  fs/cifs/cifsproto.h |    2 +-
>  fs/cifs/connect.c   |    2 +-
>  fs/cifs/misc.c      |    4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> @@ -52,7 +52,7 @@ extern int SendReceive2(const unsigned i
>                         int * /* type of buf returned */ , const int 
> long_op);
>  extern int checkSMBhdr(struct smb_hdr *smb, __u16 mid);
>  extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length);
> -extern int is_valid_oplock_break(struct smb_hdr *smb);
> +extern int is_valid_oplock_break(struct smb_hdr *smb, struct 
> TCP_Server_Info *);
>  extern int is_size_safe_to_change(struct cifsInodeInfo *);
>  extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *);
>  extern unsigned int smbCalcSize(struct smb_hdr *ptr);


More information about the linux-cifs-client mailing list