diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2014-10-02 20:13:35 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-10-02 14:17:41 -0500 |
commit | 1209bbdff2f6bbffa6eb5823033bbd7b8799a5e2 (patch) | |
tree | af0f44e0266ad9b4e36a2b2eb37e781b72d3288f /drivers/md/dm-bio-prison.c | |
parent | 19e81573fca7b87ced7701e01ba164b968d929bd (diff) | |
download | linux-next-1209bbdff2f6bbffa6eb5823033bbd7b8799a5e2.tar.gz |
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>
Diffstat (limited to 'drivers/md/dm-bio-prison.c')
0 files changed, 0 insertions, 0 deletions