OpenCloudOS-Kernel/fs/ext2
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
..
CHANGES Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] xip: ext2: execute in place 2005-06-24 00:06:41 -07:00
acl.c [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00
acl.h [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00
balloc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bitmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ext2.h [PATCH] ext2: fix mount options parting 2005-07-12 16:01:01 -07:00
file.c [PATCH] xip: reduce code duplication 2005-06-24 00:06:41 -07:00
fsync.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ialloc.c [PATCH] ext2: drop quota reference before releasing inode 2005-07-27 16:25:50 -07:00
inode.c [PATCH] xip: ext2: execute in place 2005-06-24 00:06:41 -07:00
ioctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c [PATCH] xip: ext2: execute in place 2005-06-24 00:06:41 -07:00
super.c [PATCH] ext2: fix mount options parting 2005-07-12 16:01:01 -07:00
symlink.c Fix nasty ncpfs symlink handling bug. 2005-08-19 18:02:56 -07:00
xattr.c [PATCH] mbcache: Remove unused mb_cache_shrink parameter 2005-07-27 16:26:07 -07:00
xattr.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xattr_security.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xattr_trusted.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xattr_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xip.c [PATCH] fix xip sparse file handling in ext2 2005-07-27 16:25:53 -07:00
xip.h [PATCH] xip: ext2: execute in place 2005-06-24 00:06:41 -07:00