Pavel Shilovsky 1209bbdff2 CIFS: Fix readpages retrying on reconnects
If we got a reconnect error from async readv we re-add pages back
to page_list and continue loop. That is wrong because these pages
have been already added to the pagecache but page_list has pages that
have not been added to the pagecache yet. This ends up with a general
protection fault in put_pages after readpages. Fix it by not retrying
the read of these pages and falling back to readpage instead.

Fixes debian bug 762306

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Tested-by: Arthur Marsh <arthur.marsh@internode.on.net>
2014-10-02 14:17:41 -05:00
..
2013-11-08 05:57:46 +09:00
2014-08-22 00:26:56 -05:00
2014-05-21 10:18:05 -07:00
2014-09-16 06:48:20 -05:00
2007-06-05 18:30:44 +00:00
2014-09-16 05:30:11 -05:00
2014-10-02 14:10:04 -05:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00