• Robert Love's avatar
    [PATCH] 2.5.4-pre1: further llseek cleanup (1/3) · 5284a260
    Robert Love authored
    This is the first of three patches implementing further llseek cleanup,
    against 2.5.4-pre1.
    
    The 'push locking into llseek methods' patch was integrated into 2.5.3.
    The networking filesystems, however, do not protect i_size and can not
    rely on the inode semaphore used in generic_file_llseek.
    
    This patch implements a remote_llseek method, which is basically the
    pre-2.5.3 version of generic_file_llseek.  Locking is done via the BKL.
    When we have a saner locking system in place, we can push it into this
    function in lieu.
    
    Ncpfs, nfs, and smbfs have been converted to use this new llseek.
    
    Note this is updated over the previous posted patch.
    
    	Robert Love
    5284a260
read_write.c 9.17 KB