affs: use loff_t in affs_truncate()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 11 Sep 2013 21:25:48 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:29 +0000 (15:59 -0700)
commit6325932666540beea18c800016368dc921068611
tree8ac1fc5ae9493041631221999cbdce0d677815c1
parent5173b414e42cb81e764f5e92a2f143e9a84fa3d1
affs: use loff_t in affs_truncate()

It seems pretty unlikely that AFFS supports files over 4GB but we may as
well leave use loff_t just for cleanness sake instead of truncating it to
32 bits.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Marco Stornelli <marco.stornelli@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/file.c