[PATCH] remove lock_kernel() from readdir implementations.
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.
Showing
Please register or sign in to comment