Possible bug of missing error return code in __ext4_journalled_writepage()
In __ext4_journalled_writepage():
......
inode_bh = ext4_journalled_write_inline_data(inode, len, page); if (inode_bh == NULL)
goto out;
......
out:
unlock_page(page);out_no_pagelock:
brelse(inode_bh);
return ret;
When inode_bh is NULL, ret is not assigned with an error code like -ENOENT. I wonder whether this is intentional? Or ret should be assigned with -ENOENT here?
Best wishes,
Jia-Ju Bai