diff options
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r-- | fs/cifs/readdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index 3746580e9701..82497d47429a 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c | |||
@@ -495,7 +495,7 @@ ffirst_retry: | |||
495 | static int cifs_unicode_bytelen(char *str) | 495 | static int cifs_unicode_bytelen(char *str) |
496 | { | 496 | { |
497 | int len; | 497 | int len; |
498 | __le16 * ustr = (__le16 *)str; | 498 | __le16 *ustr = (__le16 *)str; |
499 | 499 | ||
500 | for (len = 0; len <= PATH_MAX; len++) { | 500 | for (len = 0; len <= PATH_MAX; len++) { |
501 | if (ustr[len] == 0) | 501 | if (ustr[len] == 0) |