android_kernel_motorola_sm6375/fs/configfs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
Acked-by: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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