hfsplus: fix potential overflow in hfsplus_file_truncate()
commit12f267a20aecf8b84a2a9069b9011f1661c779b4
authorVyacheslav Dubeyko <slava@dubeyko.com>
Wed, 17 Apr 2013 22:58:33 +0000 (17 15:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Apr 2013 23:10:45 +0000 (17 16:10 -0700)
tree3cc705f2ab1fb7bde1bafc635fe0fb9ea6fbc10a
parent472d326677db37625903265428582694394d2df7
hfsplus: fix potential overflow in hfsplus_file_truncate()

Change a u32 to loff_t hfsplus_file_truncate().

Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/extents.c