android_kernel_motorola_sm6225/fs/smbfs
Andrew Morton caf736085f [PATCH] smbfs readdir vs signal fix
An old patch designed to fix http://bugme.osdl.org/show_bug.cgi?id=4497,
"getdents gives empty/random result upon signal".

If smbfs's readdir() is interupted by a signal, smb_readdir() failed to
noticed that and proceeded to treat the unread-into page as valid directory
contents.  Fix that up by handling the -ERESTARTSYS.

Thanks to Stian Skjelstad for reporting and testing.

Cc: Stian Skjelstad <stian@nixia.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-01 08:53:09 -08:00
..
cache.c [PATCH] shrink dentry struct 2006-01-08 20:13:58 -08:00
dir.c [PATCH] smbfs readdir vs signal fix 2006-02-01 08:53:09 -08:00
file.c [PATCH] fix possible PAGE_CACHE_SHIFT overflows 2006-01-08 20:13:54 -08:00
getopt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
getopt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] smbfs: remove kmalloc wrapper 2006-01-14 18:27:13 -08:00
ioctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] smbfs: remove kmalloc wrapper 2006-01-14 18:27:13 -08:00
proc.c [PATCH] capable/capability.h (fs/) 2006-01-11 18:42:13 -08:00
proto.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
request.c [PATCH] smbfs: remove kmalloc wrapper 2006-01-14 18:27:13 -08:00
request.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smb_debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smbiod.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sock.c [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
symlink.c [PATCH] smbfs: 'names_cache' memory leak 2005-11-07 07:53:39 -08:00