diff options
author | Matt Mackall <mpm@selenic.com> | 2005-05-01 08:59:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:59:01 -0700 |
commit | cd7619d6bf36564cf54ff7218ef54e558a741913 (patch) | |
tree | c11674169b6d8f0b498e7ebe8a85d624cca82502 /fs/udf/inode.c | |
parent | c8538a7aa5527d02c7191ac5da124efadf6a2827 (diff) | |
download | op-kernel-dev-cd7619d6bf36564cf54ff7218ef54e558a741913.zip op-kernel-dev-cd7619d6bf36564cf54ff7218ef54e558a741913.tar.gz |
[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>
Diffstat (limited to 'fs/udf/inode.c')
-rw-r--r-- | fs/udf/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c index 0506e11..3d68de3 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c @@ -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); |