• Jeremy Kerr's avatar
    powerpc/spufs: allow spufs files to specify sizes · 23d893f5
    Jeremy Kerr authored
    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>
    23d893f5
spufs.h 11.5 KB