[Ocfs2-commits] mfasheh commits r1328 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Aug 3 20:58:38 CDT 2004
Author: mfasheh
Date: 2004-08-03 19:58:37 -0500 (Tue, 03 Aug 2004)
New Revision: 1328
Modified:
trunk/src/inode.c
Log:
* silence a compile warning by getting rid of unused variables in
ocfs_readpage.
Modified: trunk/src/inode.c
===================================================================
--- trunk/src/inode.c 2004-08-04 00:57:15 UTC (rev 1327)
+++ trunk/src/inode.c 2004-08-04 00:58:37 UTC (rev 1328)
@@ -1418,17 +1418,11 @@
static int ocfs_readpage (struct file *file, struct page *page)
{
int ret;
- struct inode *inode = page->mapping->host;
- unsigned int local;
- void *buff;
LOG_SET_CONTEXT(READPAGE);
LOG_ENTRY_ARGS ("(0x%p, %lu)\n", file, (page ? page->index : 0));
- if (!inode)
- BUG();
-
ret = block_read_full_page (page, ocfs_get_block);
if (ret < 0)
goto bail;
More information about the Ocfs2-commits
mailing list