summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-07-03 15:00:45 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 16:07:23 -0700
commit7121064b214bbc97007ec4d0e70aaeffef1b55f7 (patch)
tree37f20e4c6aa23bbc387036868f77ab3a28694506 /fs/ocfs2/dlm
parent3b1f9f53b18b2007803de17ab79cea736d5baf81 (diff)
downloadlinux-7121064b214bbc97007ec4d0e70aaeffef1b55f7.tar.gz
linux-7121064b214bbc97007ec4d0e70aaeffef1b55f7.tar.bz2
linux-7121064b214bbc97007ec4d0e70aaeffef1b55f7.zip
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>
Diffstat (limited to 'fs/ocfs2/dlm')
0 files changed, 0 insertions, 0 deletions