aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-09-25 15:53:44 -0400
committerSteve French <sfrench@us.ibm.com>2007-09-25 15:53:44 -0400
commit65874007c36930317c7a56d814a6a3e2966daaa8 (patch)
tree9f216744f91aac66e492812544ca4a0d0aa2f00d /fs/cifs
parentbcb020341a7d0fba6cd025f068d40f4ab5c36af8 (diff)
[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.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c
index 11ac13336ecb..90969104dd39 100644
--- a/fs/cifs/cifsacl.c
+++ b/fs/cifs/cifsacl.c
@@ -21,6 +21,13 @@
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */ 22 */
23 23
24#include <linux/fs.h>
25#include "cifspdu.h"
26#include "cifsglob.h"
27#include "cifsproto.h"
28#include "cifs_debug.h"
29#include "cifsacl.h"
30
24/* security id for everyone */ 31/* security id for everyone */
25static const struct cifs_sid sid_everyone = 32static const struct cifs_sid sid_everyone =
26 {1, 1, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0}}; 33 {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)
51/* Convert CIFS ACL to POSIX form */ 58/* Convert CIFS ACL to POSIX form */
52int parse_sec_desc(struct cifs_ntsd *pntsd, int acl_len) 59int parse_sec_desc(struct cifs_ntsd *pntsd, int acl_len)
53{ 60{
54 int i; 61 int i, rc;
55 int num_aces = 0; 62 int num_aces = 0;
56 int acl_size; 63 int acl_size;
57 struct cifs_sid *owner_sid_ptr, *group_sid_ptr; 64 struct cifs_sid *owner_sid_ptr, *group_sid_ptr;