[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
@@ -131,8 +131,7 @@ static int afs_file_readpage(struct file *file, struct page *page)
|
||||
|
||||
vnode = AFS_FS_I(inode);
|
||||
|
||||
if (!PageLocked(page))
|
||||
PAGE_BUG(page);
|
||||
BUG_ON(!PageLocked(page));
|
||||
|
||||
ret = -ESTALE;
|
||||
if (vnode->flags & AFS_VNODE_DELETED)
|
||||
|
Reference in New Issue
Block a user