linux/fs/sysfs
Linus Torvalds cc314eef01 Fix nasty ncpfs symlink handling bug.
This bug could cause oopses and page state corruption, because ncpfs
used the generic page-cache symlink handlign functions.  But those
functions only work if the page cache is guaranteed to be "stable", ie a
page that was installed when the symlink walk was started has to still
be installed in the page cache at the end of the walk.

We could have fixed ncpfs to not use the generic helper routines, but it
is in many ways much cleaner to instead improve on the symlink walking
helper routines so that they don't require that absolute stability.

We do this by allowing "follow_link()" to return a error-pointer as a
cookie, which is fed back to the cleanup "put_link()" routine.  This
also simplifies NFS symlink handling.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-19 18:02:56 -07:00
..
bin.c
dir.c [PATCH] remove duplicate get_dentry functions in various places 2005-06-23 09:45:20 -07:00
file.c [PATCH] sysfs: fix sysfs_chmod_file 2005-07-29 13:12:49 -07:00
group.c [PATCH] remove duplicate get_dentry functions in various places 2005-06-23 09:45:20 -07:00
inode.c [PATCH] sysfs: fix sysfs_setattr 2005-07-29 13:12:49 -07:00
Makefile
mount.c
symlink.c Fix nasty ncpfs symlink handling bug. 2005-08-19 18:02:56 -07:00
sysfs.h [PATCH] remove duplicate get_dentry functions in various places 2005-06-23 09:45:20 -07:00