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 make configfs_pin_fs() return root dentry on success 2012-03-20 21:29:48 -04:00
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 doc: fix broken references 2011-09-27 18:08:04 +02:00
Kconfig configfs: change depends -> select SYSFS 2011-01-16 21:22:29 +00:00
Makefile
mount.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
symlink.c configfs: kill configfs_sb 2012-03-20 21:29:47 -04:00