[Ocfs2-commits] mfasheh commits r824 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Mar 30 13:12:00 CST 2004
Author: mfasheh
Date: 2004-03-30 13:11:59 -0600 (Tue, 30 Mar 2004)
New Revision: 824
Modified:
trunk/src/hash.c
Log:
* change the name of __ocfs_inode_hash_rev_lookup to
__ocfs_inode_hash_feoff_lookup, which is more descriptive.
in the future we might actually want a reverse lookup, which
would technically be from inode number to voteoff.
Modified: trunk/src/hash.c
===================================================================
--- trunk/src/hash.c 2004-03-30 02:41:36 UTC (rev 823)
+++ trunk/src/hash.c 2004-03-30 19:11:59 UTC (rev 824)
@@ -1345,8 +1345,8 @@
return(inum);
} /* __ocfs_inode_hash_lookup */
-static ocfs_inode_num * __ocfs_inode_hash_rev_lookup(ocfs_inode_hash *h,
- __u64 feoff)
+static ocfs_inode_num * __ocfs_inode_hash_feoff_lookup(ocfs_inode_hash *h,
+ __u64 feoff)
{
ocfs_inode_num *inum = NULL;
int bucket;
@@ -1372,7 +1372,7 @@
}
return(inum);
-} /* __ocfs_inode_hash_rev_lookup */
+} /* __ocfs_inode_hash_feoff_lookup */
/*
*
@@ -1395,7 +1395,7 @@
inum = __ocfs_inode_hash_lookup(h, voteoff);
if (!inum && reverse) {
- inum = __ocfs_inode_hash_rev_lookup(h, voteoff);
+ inum = __ocfs_inode_hash_feoff_lookup(h, voteoff);
}
if (inum) {
More information about the Ocfs2-commits
mailing list