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)
commitf157853e407c0611cd6acbc400fa6c7be420b1bd
treec8ee0adacfd4b798228d0ccd65de3f3ec0ce24d5
parenteeb36f8e938d151fc5e12e96ae13d0e283be357e
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