read_cache_page returns -EIO on error, so the return should be checked
against ERROR_VALUE instead of NULL.
Signed-off-by: Chengyu Song
---
fs/logfs/segment.c | 4 ++--
fs/logfs/super.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/logfs/segment.c
read_cache_page returns -EIO on error, so the return should be checked
against ERROR_VALUE instead of NULL.
Signed-off-by: Chengyu Song cson...@gatech.edu
---
fs/logfs/segment.c | 4 ++--
fs/logfs/super.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
2 matches
Mail list logo