linux-sg2042/fs/affs
Fabian Frederick 8ca577223f affs: add mount option to avoid filename truncates
Normal behavior for filenames exceeding specific filesystem limits is to
refuse operation.

AFFS standard name length being only 30 characters against 255 for usual
Linux filesystems, original implementation does filename truncate by
default with a define value AFFS_NO_TRUNCATE which can be enabled but
needs module compilation.

This patch adds 'nofilenametruncate' mount option so that user can
easily activate that feature and avoid a lot of problems (eg overwrite
files ...)

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>
2014-04-07 16:36:08 -07:00
..
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
Kconfig fs/affs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
affs.h affs: add mount option to avoid filename truncates 2014-04-07 16:36:08 -07:00
amigaffs.c affs: add mount option to avoid filename truncates 2014-04-07 16:36:08 -07:00
bitmap.c affs: use memweight() 2012-07-30 17:25:16 -07:00
dir.c fs/affs/dir.c: unlock/brelse dir on failure + code clean-up 2014-04-07 16:36:08 -07:00
file.c truncate: drop 'oldsize' truncate_pagecache() parameter 2013-09-12 15:38:02 -07:00
inode.c mm + fs: store shadow entries in page cache 2014-04-03 16:21:01 -07:00
namei.c affs: add mount option to avoid filename truncates 2014-04-07 16:36:08 -07:00
super.c affs: add mount option to avoid filename truncates 2014-04-07 16:36:08 -07:00
symlink.c Fix remount races with symlink handling in affs 2010-01-26 22:22:24 -05:00