• Andrew Morton's avatar
    [PATCH] remove lock_kernel() from readdir implementations. · 81140ca3
    Andrew Morton authored
    Filesystems which are using generic_file_llseek() do not need lock_kernel()
    in their readir implementations.  All operations (including llseek) are
    serialised by the directory's i_sem.
    
    Just fix ext2 and ext3 for now.  Others may need locking between readdir and
    who-knows-what.
    81140ca3
dir.c 16.2 KB