The __filemap_get_folio() function returns error pointers.
It never returns NULL. So use IS_ERR() to check it.
Fixes: 1da86618bdce ("fs: Convert aops->write_begin to take a folio")
Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
|
||
|---|---|---|
| .. | ||
| hostfs_kern.c | ||
| hostfs_user_exp.c | ||
| hostfs_user.c | ||
| hostfs.h | ||
| Makefile | ||