[CIFS] Fix walking out end of cifs dacl
[safe/jmp/linux-2.6] / fs / cifs / readdir.c
index 3746580..82497d4 100644 (file)
@@ -495,7 +495,7 @@ ffirst_retry:
 static int cifs_unicode_bytelen(char *str)
 {
        int len;
-       __le16 * ustr = (__le16 *)str;
+       __le16 *ustr = (__le16 *)str;
 
        for (len = 0; len <= PATH_MAX; len++) {
                if (ustr[len] == 0)