]> git.baikalelectronics.ru Git - kernel.git/commit
fs/affs: define AFFSNAMEMAX to replace constant use
authorFabian Frederick <fabf@skynet.be>
Tue, 17 Feb 2015 21:46:23 +0000 (13:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:52 +0000 (14:34 -0800)
commit4f5290a04be99bca8684f503b5b7471af4c53178
treec8ee0adacfd4b798228d0ccd65de3f3ec0ce24d5
parentdf1bbe5f3cecbf94a4062d34344e061513e407a3
fs/affs: define AFFSNAMEMAX to replace constant use

30 was used all over the place to compare name length against
AFFS maximum name length.

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/affs.h
fs/affs/amigaffs.c
fs/affs/dir.c
fs/affs/namei.c
fs/affs/super.c