aboutsummaryrefslogtreecommitdiffstats
path: root/fs/configfs/item.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2007-06-22 13:07:02 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2007-07-10 16:52:22 -0700
commitb23cdde4c6240d70bb3d2e3c4046b60d6f6c8451 (patch)
treeed1965f424197194def20aa1ed10867f9fac6836 /fs/configfs/item.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc (diff)
downloadlinux-dev-b23cdde4c6240d70bb3d2e3c4046b60d6f6c8451.tar.xz
linux-dev-b23cdde4c6240d70bb3d2e3c4046b60d6f6c8451.zip
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 <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/configfs/item.c')
0 files changed, 0 insertions, 0 deletions