[Ocfs2-commits] mfasheh commits r1413 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Sep 1 16:32:43 CDT 2004
Author: mfasheh
Date: 2004-09-01 16:32:41 -0500 (Wed, 01 Sep 2004)
New Revision: 1413
Modified:
trunk/src/inode.c
Log:
* it is not an error for find_actor or find_inode to get an inode
without the same blkno that you're asking for :)
Modified: trunk/src/inode.c
===================================================================
--- trunk/src/inode.c 2004-09-01 16:28:18 UTC (rev 1412)
+++ trunk/src/inode.c 2004-09-01 21:32:41 UTC (rev 1413)
@@ -193,12 +193,8 @@
if (inode == NULL)
goto bail;
- if (OCFS_I(inode)->ip_blkno != args->blkno) {
- LOG_ERROR_ARGS("hmm ip_blkno=%llu, args->blkno=%llu, i_ino=%lu\n",
- OCFS_I(inode)->ip_blkno, args->blkno, inode->i_ino);
- LOG_ERROR_STATUS(-EINVAL);
+ if (OCFS_I(inode)->ip_blkno != args->blkno)
goto bail;
- }
ret = 1;
bail:
@@ -255,15 +251,11 @@
BUG();
}
- /* We have unique inode numbers so these are just sanity
- * checks at this point. */
if (opaque == NULL || inode == NULL)
goto bail;
- if (OCFS_I(inode)->ip_blkno != args->blkno) {
- LOG_ERROR_STATUS(-EINVAL);
+ if (OCFS_I(inode)->ip_blkno != args->blkno)
goto bail;
- }
ret = 1;
bail:
More information about the Ocfs2-commits
mailing list