Re: [PATCH 7/8] direct-io: use bio_release_pages in dio_bio_complete

2019-05-04 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs Filesystems jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnb

[PATCH 7/8] direct-io: use bio_release_pages in dio_bio_complete

2019-05-02 Thread Christoph Hellwig
Use bio_release_pages and bio_set_pages_dirty instead of open coding them. Signed-off-by: Christoph Hellwig --- fs/direct-io.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/fs/direct-io.c b/fs/direct-io.c index fbe885d68035..62d0594a4622 100644 --- a/fs/dir