remarkable-linux/fs/configfs
Dan Carpenter 7121064b21 configfs: use capped length for ->store_attribute()
The difference between "count" and "len" is that "len" is capped at
4095.  Changing it like this makes it match how sysfs_write_file() is
implemented.

This is a static analysis patch.  I haven't found any store_attribute()
functions where this change makes a difference.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:23 -07:00
..
configfs_internal.h
dir.c [readdir] convert configfs 2013-06-29 12:56:30 +04:00
file.c configfs: use capped length for ->store_attribute() 2013-07-03 16:07:23 -07:00
inode.c userns: Convert configfs to use kuid and kgid where appropriate 2012-09-18 01:01:37 -07:00
item.c
Kconfig
Makefile
mount.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
symlink.c