]> 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)
commita856b2b37867591f2fb377a25b20b28e85981ee7
treef7c9cc24c84059586ff5c51f41a5fa8ce3e45df5
parentf449394d89393083ac38661b3ab07616e4e1bde2
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