[PATCH] NFS client O_DIRECT error case fix
The NFS direct-io error return path for request sizes greater than MAX_DIRECTIO_SIZE fails to initialize the returned page struct array pointer to NULL. Discovered using AKPM's ext3-tools: odwrite -ko 0 16385 foo Signed-off-by: Bill Rugolsky <brugolsky@telemetry-investments.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment