fs/affs: use unsigned int for string lengths
authorFabian Frederick <fabf@skynet.be>
Tue, 17 Feb 2015 21:46:20 +0000 (13:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:52 +0000 (14:34 -0800)
commiteeb36f8e938d151fc5e12e96ae13d0e283be357e
treef7c9cc24c84059586ff5c51f41a5fa8ce3e45df5
parent4d29e571e1942f8f418bf776af0134a9cb5a35c9
fs/affs: use unsigned int for string lengths

- Some min() were used with different types.

- Create a new variable in __affs_hash_dentry() to process
  affs_check_name()/min() return

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/amigaffs.c
fs/affs/namei.c