]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf1bbe5f3cecbf94a4062d34344e061513e407a3
treef7c9cc24c84059586ff5c51f41a5fa8ce3e45df5
parentaeef2fd478f77a953eabc2c325f84b08c0cb0509
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