Skip to content
Commit 23d893f5 authored by Jeremy Kerr's avatar Jeremy Kerr
Browse files

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: default avatarJeremy Kerr <jk@ozlabs.org>
parent 87ff6090
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment