cifs: make cifs_copy_sid handle a source sid with variable size subauth arrays
authorJeff Layton <jlayton@redhat.com>
Sun, 25 Nov 2012 13:00:37 +0000 (08:00 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 5 Dec 2012 19:13:11 +0000 (13:13 -0600)
commit36f87ee70f754d04e55518853e6fb30ed4732dda
tree59169a8e5ce4a3ff23a7d5e9dbaa88a3515259cb
parent436bb435fcbe2d52678ec7e2abc45fd1938601ce
cifs: make cifs_copy_sid handle a source sid with variable size subauth arrays

...and lift the restriction in id_to_sid upcall that the size must be
at least as big as a full cifs_sid.

Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsacl.c
fs/cifs/cifsacl.h