ext2: fix format string compile warning (ino_t)
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 22 Sep 2009 23:48:01 +0000 (16:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:58 +0000 (07:39 -0700)
commita4255e4c1c41f906488ae4d3fa328a66695cf200
treeb713adf4a063c2bc08b0bd388bbf4432a0363be9
parent9f6c1333938c5d93da8be8f29f3b5469a3c00f95
ext2: fix format string compile warning (ino_t)

Unlike on most other architectures ino_t is an unsigned int on s390.  So
add an explicit cast to avoid this compile warning:

fs/ext2/namei.c: In function 'ext2_lookup':
fs/ext2/namei.c:73: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'ino_t'

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext2/namei.c