linux-stable/fs/hostfs
ZhangPeng bed2cc4826 hostfs: Fix the NULL vs IS_ERR() bug for __filemap_get_folio()
The __filemap_get_folio() function returns error pointers.
It never returns NULL. So use IS_ERR() to check it.

Fixes: 1da86618bd ("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>
2024-11-15 20:55:32 +01:00
..
hostfs_kern.c hostfs: Fix the NULL vs IS_ERR() bug for __filemap_get_folio() 2024-11-15 20:55:32 +01:00
hostfs_user_exp.c um: hostfs: define our own API boundary 2023-04-20 23:04:40 +02:00
hostfs_user.c hostfs: fix dev_t handling 2024-07-03 12:23:50 +02:00
hostfs.h hostfs: fix dev_t handling 2024-07-03 12:23:50 +02:00
Makefile um: hostfs: define our own API boundary 2023-04-20 23:04:40 +02:00