kernel_optimize_test/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 [PATCH] sysfs: if show/store is missing return -EIO 2005-06-20 15:15:02 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c [PATCH] sysfs-iattr: set inode attributes 2005-06-20 15:15:37 -07:00
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