diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-04-07 15:39:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 16:36:08 -0700 |
commit | 8ca577223f75230a746a06f4566c53943f78d5d0 (patch) | |
tree | ced0c941b1568d00de80b5ced7650f49f6ddcd54 /lib/usercopy.c | |
parent | d40c4d46eaa2295b5d1ee08f594b023245db87a4 (diff) | |
download | linux-8ca577223f75230a746a06f4566c53943f78d5d0.tar.bz2 |
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>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions