diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 188365c79204..792cbacbbf41 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -2078,8 +2078,7 @@ int block_read_full_page(struct page *page, get_block_t *get_block) | |||
2078 | int nr, i; | 2078 | int nr, i; |
2079 | int fully_mapped = 1; | 2079 | int fully_mapped = 1; |
2080 | 2080 | ||
2081 | if (!PageLocked(page)) | 2081 | BUG_ON(!PageLocked(page)); |
2082 | PAGE_BUG(page); | ||
2083 | blocksize = 1 << inode->i_blkbits; | 2082 | blocksize = 1 << inode->i_blkbits; |
2084 | if (!page_has_buffers(page)) | 2083 | if (!page_has_buffers(page)) |
2085 | create_empty_buffers(page, blocksize, 0); | 2084 | create_empty_buffers(page, blocksize, 0); |