git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Exterminate PAGE_BUG
[safe/jmp/linux-2.6]
/
fs
/
buffer.c
diff --git
a/fs/buffer.c
b/fs/buffer.c
index
188365c
..
792cbac
100644
(file)
--- 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)
int nr, i;
int fully_mapped = 1;
- if (!PageLocked(page))
- PAGE_BUG(page);
+ BUG_ON(!PageLocked(page));
blocksize = 1 << inode->i_blkbits;
if (!page_has_buffers(page))
create_empty_buffers(page, blocksize, 0);