fs/namei.c: fix warnings on 32-bit
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Mar 2012 23:33:42 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 00:54:54 +0000 (17:54 -0700)
commit1de5b41cd3b2474c2770b825266d372073e1b28b
tree3968c179cc49ca60a425b7fe4b76808c0f0af9e0
parent1a5a9906d4e8d1976b701f889d8f35d54b928f25
fs/namei.c: fix warnings on 32-bit

i386 allnoconfig:

  fs/namei.c: In function 'has_zero':
  fs/namei.c:1617: warning: integer constant is too large for 'unsigned long' type
  fs/namei.c:1617: warning: integer constant is too large for 'unsigned long' type
  fs/namei.c: In function 'hash_name':
  fs/namei.c:1635: warning: integer constant is too large for 'unsigned long' type

There must be a tidier way of doing this.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c