diff options
Diffstat (limited to 'fs/afs/dir.c')
-rw-r--r-- | fs/afs/dir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index dac5b990c0cd..0c1e902f17a3 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c | |||
@@ -194,10 +194,7 @@ static struct page *afs_dir_get_page(struct inode *dir, unsigned long index, | |||
194 | 194 | ||
195 | page = read_mapping_page(dir->i_mapping, index, &file); | 195 | page = read_mapping_page(dir->i_mapping, index, &file); |
196 | if (!IS_ERR(page)) { | 196 | if (!IS_ERR(page)) { |
197 | wait_on_page_locked(page); | ||
198 | kmap(page); | 197 | kmap(page); |
199 | if (!PageUptodate(page)) | ||
200 | goto fail; | ||
201 | if (!PageChecked(page)) | 198 | if (!PageChecked(page)) |
202 | afs_dir_check_page(dir, page); | 199 | afs_dir_check_page(dir, page); |
203 | if (PageError(page)) | 200 | if (PageError(page)) |