commit | 23d893f51cde7013e4c29094da2237cce4f20035 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Mon Jun 30 12:17:28 2008 +1000 |
committer | Jeremy Kerr <jk@ozlabs.org> | Wed Jul 09 10:13:40 2008 +1000 |
tree | 8501d50703820178ede0ea6a96796589c2464c5d | |
parent | 87ff6090bfe416c71730654ab53cd4ecffdd675e [diff] |
powerpc/spufs: allow spufs files to specify sizes Currently, spufs never specifies the i_size for the files in context directories, so stat() always reports 0-byte files. This change adds allows the spufs_dir_(nosched_)contents arrays to specify a file size. This allows stat() to report correct file sizes, and makes SEEK_END work. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>