On Wed, Mar 31, 2021 at 8:29 AM wangfangpeng wrote:
> do_readpage() may return err, but ubifs_readpage() always return ok.
> The vfs will ignore the err happen in ubifs.
Are you sure about that?
In case of an error UBIFS sets the error flag of the page and does not
mark it as uptodate,
so vfs wil
do_readpage() may return err, but ubifs_readpage() always return ok.
The vfs will ignore the err happen in ubifs.
Fixes: 1e51764a3c2ac05a2 ("UBIFS: add new flash file system")
Cc: #v2.6.27
Signed-off-by: wangfangpeng
---
fs/ubifs/file.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-
2 matches
Mail list logo