summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-02-01 11:04:39 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-01 16:53:09 (GMT)
commitcaf736085f2f0d22a992a855d9caae14973f7ea4 (patch)
tree1224cebafe4104c9621ffa06c08311c19668acc5 /init
parent389d1ea50849f84c3a9f8640fcb66827746b4ab4 (diff)
downloadlinux-fsl-qoriq-caf736085f2f0d22a992a855d9caae14973f7ea4.tar.xz
[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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions