git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 2.0 rc7
[linux-2.6.git]
/
fs
/
afs
/
file.c
diff --git
a/fs/afs/file.c
b/fs/afs/file.c
index
6b6bb7c
..
23c1251
100644
(file)
--- a/
fs/afs/file.c
+++ b/
fs/afs/file.c
@@
-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)