diff options
| author | Robert Love <rml@tech9.net> | 2002-02-05 18:46:40 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-02-05 18:46:40 -0800 |
| commit | 5284a260fde96ff04bb6e004756fb7c7d5e317d3 (patch) | |
| tree | d67c01af6a1b072792728c7a5eec3ad5a87943c3 /kernel | |
| parent | 65ae2396a0de6c156e49c1fe3fd4a8befed723da (diff) | |
[PATCH] 2.5.4-pre1: further llseek cleanup (1/3)
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
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/ksyms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ksyms.c b/kernel/ksyms.c index c271a8e6f6fc..73db2a0b2678 100644 --- a/kernel/ksyms.c +++ b/kernel/ksyms.c @@ -251,6 +251,7 @@ EXPORT_SYMBOL(vfs_rename); EXPORT_SYMBOL(vfs_statfs); EXPORT_SYMBOL(generic_read_dir); EXPORT_SYMBOL(generic_file_llseek); +EXPORT_SYMBOL(remote_llseek); EXPORT_SYMBOL(no_llseek); EXPORT_SYMBOL(__pollwait); EXPORT_SYMBOL(poll_freewait); |
