https://github.com/torvalds/linux
Revision 72d282dc5109e5dc0d963be020604e0cc82f7ed7 authored by Sachin Prabhu on 05 March 2013, 19:25:55 UTC, committed by Steve French on 07 March 2013, 00:28:35 UTC
Fix check for error condition after setting attributes with
CIFSSMBSetFileInfo().

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
1 parent 9f22578
Raw File
Tip revision: 72d282dc5109e5dc0d963be020604e0cc82f7ed7 authored by Sachin Prabhu on 05 March 2013, 19:25:55 UTC
cifs: Fix bug when checking error condition in cifs_rename_pending_delete()
Tip revision: 72d282d
infutil.h
/* infutil.h -- types and macros common to blocks and codes
 * Copyright (C) 1995-1998 Mark Adler
 * For conditions of distribution and use, see copyright notice in zlib.h 
 */

/* WARNING: this file should *not* be used by applications. It is
   part of the implementation of the compression library and is
   subject to change. Applications should only use zlib.h.
 */

#ifndef _INFUTIL_H
#define _INFUTIL_H

#include <linux/zlib.h>

/* memory allocation for inflation */

struct inflate_workspace {
	struct inflate_state inflate_state;
	unsigned char working_window[1 << MAX_WBITS];
};

#define WS(z) ((struct inflate_workspace *)(z->workspace))

#endif
back to top