mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
ntfs3: Remove calls to set/clear the error flag
Nobody checks the error flag on ntfs3 folios, so stop setting and clearing it. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
562d060bed
commit
326a6fd960
@ -2145,9 +2145,6 @@ int ni_readpage_cmpr(struct ntfs_inode *ni, struct page *page)
|
||||
err = ni_read_frame(ni, frame_vbo, pages, pages_per_frame);
|
||||
|
||||
out1:
|
||||
if (err)
|
||||
SetPageError(page);
|
||||
|
||||
for (i = 0; i < pages_per_frame; i++) {
|
||||
pg = pages[i];
|
||||
if (i == idx || !pg)
|
||||
@ -2720,7 +2717,6 @@ out:
|
||||
for (i = 0; i < pages_per_frame; i++) {
|
||||
pg = pages[i];
|
||||
kunmap(pg);
|
||||
ClearPageError(pg);
|
||||
SetPageUptodate(pg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user