diff options
author | Steve French <sfrench@us.ibm.com> | 2007-09-25 19:53:44 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-09-25 19:53:44 +0000 |
commit | 65874007c36930317c7a56d814a6a3e2966daaa8 (patch) | |
tree | 9f216744f91aac66e492812544ca4a0d0aa2f00d /fs/cifs | |
parent | bcb020341a7d0fba6cd025f068d40f4ab5c36af8 (diff) | |
download | kernel-crypto-65874007c36930317c7a56d814a6a3e2966daaa8.tar.gz kernel-crypto-65874007c36930317c7a56d814a6a3e2966daaa8.tar.xz kernel-crypto-65874007c36930317c7a56d814a6a3e2966daaa8.zip |
[CIFS] fix cut and paste error - missing defines cause cifsacl build error
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsacl.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 11ac13336ec..90969104dd3 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 <linux/fs.h> +#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; |