From: Steve French Date: Tue, 25 Sep 2007 19:53:44 +0000 (+0000) Subject: [CIFS] fix cut and paste error - missing defines cause cifsacl build error X-Git-Tag: v2.6.24-rc1~138^2~29 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65874007c36930317c7a56d814a6a3e2966daaa8;p=linux-2.6 [CIFS] fix cut and paste error - missing defines cause cifsacl build error Signed-off-by: Steve French --- diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 11ac13336e..90969104dd 100644 --- a/fs/cifs/cifsacl.c +++ b/fs/cifs/cifsacl.c @@ -21,6 +21,13 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include +#include "cifspdu.h" +#include "cifsglob.h" +#include "cifsproto.h" +#include "cifs_debug.h" +#include "cifsacl.h" + /* security id for everyone */ static const struct cifs_sid sid_everyone = {1, 1, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0}}; @@ -51,7 +58,7 @@ static int parse_sid(struct cifs_sid *psid, char *end_of_acl) /* Convert CIFS ACL to POSIX form */ int parse_sec_desc(struct cifs_ntsd *pntsd, int acl_len) { - int i; + int i, rc; int num_aces = 0; int acl_size; struct cifs_sid *owner_sid_ptr, *group_sid_ptr;