From: Joel Becker Date: Fri, 22 Jun 2007 20:07:02 +0000 (-0700) Subject: configfs: consistent attribute size X-Git-Tag: v2.6.23-rc1~781^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b23cdde4c6240d70bb3d2e3c4046b60d6f6c8451;p=pandora-kernel.git configfs: consistent attribute size The attribute store/show code currently limits attributes at PAGE_SIZE. This code comes from sysfs, where it still works that way. However, PAGE_SIZE is not constant. A 16k attribute string works on ia64 but not on x86. Really a subsystem shouldn't allow different attribute sizes based on platform. As such, limit all simple attributes to 4k. This works on all platforms, and is consistent with all current code. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed