]> 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)
commitdc66e8026b05c0a1bd7113c6e38c28f318251e2a
treec8ee0adacfd4b798228d0ccd65de3f3ec0ce24d5
parenta856b2b37867591f2fb377a25b20b28e85981ee7
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