CIFS: Make CAP_* checks protocol independent
authorPavel Shilovsky <pshilovsky@samba.org>
Fri, 13 Jul 2012 09:58:14 +0000 (13:58 +0400)
committerSteve French <smfrench@gmail.com>
Tue, 24 Jul 2012 19:12:03 +0000 (14:12 -0500)
commit29e20f9c65fae245d6fd4fce31cc5d01cde3d93f
tree3e8410588672f7f0947c4c9bffd2455f855d0b02
parentd60622eb5a23904facf4a4efac60f5bfa810d7d4
CIFS: Make CAP_* checks protocol independent

Since both CIFS and SMB2 use ses->capabilities (server->capabilities)
field but flags are different we should make such checks protocol
independent.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/dir.c
fs/cifs/file.c
fs/cifs/inode.c
fs/cifs/link.c
fs/cifs/readdir.c
fs/cifs/smb1ops.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h