mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
ntfs: Remove check for PageError
If read_mapping_page() encounters an error, it returns an errno, not a page with PageError set, so this is dead code. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
This commit is contained in:
parent
ca02bcabd7
commit
17bb554879
|
|
@ -219,11 +219,6 @@ static int ntfs_attr_extend_initialized(ntfs_inode *ni, const s64 new_init_size)
|
|||
err = PTR_ERR(page);
|
||||
goto init_err_out;
|
||||
}
|
||||
if (unlikely(PageError(page))) {
|
||||
put_page(page);
|
||||
err = -EIO;
|
||||
goto init_err_out;
|
||||
}
|
||||
/*
|
||||
* Update the initialized size in the ntfs inode. This is
|
||||
* enough to make ntfs_writepage() work.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user