projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecache
[platform/kernel/linux-starfive.git]
/
fs
/
ntfs3
/
ntfs_fs.h
diff --git
a/fs/ntfs3/ntfs_fs.h
b/fs/ntfs3/ntfs_fs.h
index
3a8abf1
..
8dbdca0
100644
(file)
--- a/
fs/ntfs3/ntfs_fs.h
+++ b/
fs/ntfs3/ntfs_fs.h
@@
-896,13
+896,8
@@
static inline struct page *ntfs_map_page(struct address_space *mapping,
{
struct page *page = read_mapping_page(mapping, index, NULL);
- if (!IS_ERR(page))
{
+ if (!IS_ERR(page))
kmap(page);
- if (!PageError(page))
- return page;
- ntfs_unmap_page(page);
- return ERR_PTR(-EIO);
- }
return page;
}