diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-03 08:14:09 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-03 08:14:09 +0100 |
commit | 27b030d58c8e72fc7a95187a791bd9406e350f02 (patch) | |
tree | ab3bab7f39a5ce5bab65578a7e08fa4dfdeb198c /fs/afs/file.c | |
parent | 79d20b14a0d651f15b0ef9a22b6cf12d284a6d38 (diff) | |
parent | 6628465e33ca694bd8fd5c3cf4eb7ff9177bc694 (diff) | |
download | kernel_samsung_aries-27b030d58c8e72fc7a95187a791bd9406e350f02.zip kernel_samsung_aries-27b030d58c8e72fc7a95187a791bd9406e350f02.tar.gz kernel_samsung_aries-27b030d58c8e72fc7a95187a791bd9406e350f02.tar.bz2 |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'fs/afs/file.c')
-rw-r--r-- | fs/afs/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/afs/file.c b/fs/afs/file.c index 6b6bb7c..23c1251 100644 --- 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) |