aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/dir.c')
-rw-r--r--fs/ext2/dir.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c
index e89bfc8cf957..1d1e7e30d70e 100644
--- a/fs/ext2/dir.c
+++ b/fs/ext2/dir.c
@@ -161,10 +161,7 @@ static struct page * ext2_get_page(struct inode *dir, unsigned long n)
161 struct address_space *mapping = dir->i_mapping; 161 struct address_space *mapping = dir->i_mapping;
162 struct page *page = read_mapping_page(mapping, n, NULL); 162 struct page *page = read_mapping_page(mapping, n, NULL);
163 if (!IS_ERR(page)) { 163 if (!IS_ERR(page)) {
164 wait_on_page_locked(page);
165 kmap(page); 164 kmap(page);
166 if (!PageUptodate(page))
167 goto fail;
168 if (!PageChecked(page)) 165 if (!PageChecked(page))
169 ext2_check_page(page); 166 ext2_check_page(page);
170 if (PageError(page)) 167 if (PageError(page))