Files
twx-linux/fs
Andreas Gruenbacher f3b538493e direct-io: Prevent NULL pointer access in submit_page_section
commit 899f0429c7 upstream.

In the code added to function submit_page_section by commit b1058b981,
sdio->bio can currently be NULL when calling dio_bio_submit.  This then
leads to a NULL pointer access in dio_bio_submit, so check for a NULL
bio in submit_page_section before trying to submit it instead.

Fixes xfstest generic/250 on gfs2.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-18 09:20:42 +02:00
..
2017-05-14 13:32:54 +02:00
…
…
…
…
2017-09-07 08:34:09 +02:00
2017-10-18 09:20:40 +02:00
…
2017-08-06 19:19:42 -07:00
…
…
2017-06-14 13:16:24 +02:00
2017-06-14 13:16:24 +02:00
…
2017-08-06 19:19:42 -07:00
…
…
2016-11-10 16:36:34 +01:00
…
…
2017-06-14 13:16:24 +02:00
…
2017-10-08 10:14:20 +02:00
2016-10-07 15:23:47 +02:00
2017-06-14 13:16:24 +02:00
…
…
2017-08-06 19:19:42 -07:00
…
2017-07-15 11:57:44 +02:00
…
…
…
…
…
2016-08-10 11:49:27 +02:00
…
…
2017-06-14 13:16:24 +02:00
2017-08-06 19:19:42 -07:00
…
…
…
…
2017-06-14 13:16:24 +02:00
…
…