[PATCH] Exterminate PAGE_BUG
Remove PAGE_BUG - repalce it with BUG and BUG_ON. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
c8538a7aa5
commit
cd7619d6bf
@@ -167,8 +167,8 @@ void udf_expand_file_adinicb(struct inode * inode, int newsize, int * err)
|
||||
}
|
||||
|
||||
page = grab_cache_page(inode->i_mapping, 0);
|
||||
if (!PageLocked(page))
|
||||
PAGE_BUG(page);
|
||||
BUG_ON(!PageLocked(page));
|
||||
|
||||
if (!PageUptodate(page))
|
||||
{
|
||||
kaddr = kmap(page);
|
||||
|
Reference in New Issue
Block a user