• Linus Torvalds's avatar
    Add infrastructure for the VFS layer to mark files seekable. · 4a47ae69
    Linus Torvalds authored
    We use a FMODE_LSEEK flag to match the existing read/write
    bits. This allows us to check for seekability on a VFS level
    for lseek/pread/pwrite, and cleans things up.
    
    Update some sites that used the numeric constants to use 
    the symbolic values instead.
    4a47ae69
file_table.c 7.2 KB