Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 37842
page = page_read(dev->blkdev->bd_inode->i_mapping, index);
- if (IS_ERR(page))
+- return PTR_ERR(page);
+ if (IS_ERR(page)) {
- return PTR_ERR(page);
++ err = PTR_ERR(page);
+ goto done;
+ }
page = page_read(dev->blkdev->bd_inode->i_mapping, index);
- if (IS_ERR(page))
+- return PTR_ERR(page);
+ if (IS_ERR(page)) {
- return PTR_ERR(page);
++ err = PTR_ERR(page);
+ goto done;
+ }
page = page_read(dev->blkdev->bd_inode->i_mapping, index);
- if (IS_ERR(page))
+- return PTR_ERR(page);
+ if (IS_ERR(page)) {
- return PTR_ERR(page);
++ err = PTR_ERR(page);
+ goto done;
+ }