Re: [PATCH 2/6 linux-next] FS/AFFS: define AFFSNAMEMAX to replace constant use

2015-02-03 Thread Andrew Morton
On Tue, 3 Feb 2015 19:07:53 +0100 Fabian Frederick wrote: > 30 was used all over the place to compare name length against > AFFS maximum name length. > > ... > > +#define AFFSNAMEMAX 30 Making this 30U would probably help when cleaning up the sites which use it. -- To unsubscribe from this

[PATCH 2/6 linux-next] FS/AFFS: define AFFSNAMEMAX to replace constant use

2015-02-03 Thread Fabian Frederick
30 was used all over the place to compare name length against AFFS maximum name length. Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/affs/affs.h | 2 ++ fs/affs/amigaffs.c | 6 +++--- fs/affs/dir.c | 3 ++- fs/affs/namei.c| 16 fs/affs/super.c|

Re: [PATCH 2/6 linux-next] FS/AFFS: define AFFSNAMEMAX to replace constant use

2015-02-03 Thread Andrew Morton
On Tue, 3 Feb 2015 19:07:53 +0100 Fabian Frederick f...@skynet.be wrote: 30 was used all over the place to compare name length against AFFS maximum name length. ... +#define AFFSNAMEMAX 30 Making this 30U would probably help when cleaning up the sites which use it. -- To unsubscribe

[PATCH 2/6 linux-next] FS/AFFS: define AFFSNAMEMAX to replace constant use

2015-02-03 Thread Fabian Frederick
30 was used all over the place to compare name length against AFFS maximum name length. Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/affs/affs.h | 2 ++ fs/affs/amigaffs.c | 6 +++--- fs/affs/dir.c | 3 ++- fs/affs/namei.c| 16