• J
    powerpc/spufs: allow spufs files to specify sizes · 23d893f5
    Jeremy Kerr 提交于
    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: NJeremy Kerr <jk@ozlabs.org>
    23d893f5
file.c 62.7 KB