sysfs: hardcode file size of regular files to PAGE_SIZE.
This makes the files easily accessible in some graphical file browsers (since they can automatically handle regular files with a size > 0). Though not all files have a size that large, that is the size that we allocate for reading and writing, so it makes sense.
Showing
Please register or sign in to comment