[Ocfs2-commits] mfasheh commits r2575 - trunk/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Sep 15 17:59:37 CDT 2005


Author: mfasheh
Signed-off-by: jlbec
Date: 2005-09-15 17:59:36 -0500 (Thu, 15 Sep 2005)
New Revision: 2575

Modified:
   trunk/fs/ocfs2/suballoc.c
Log:
* Ampersands on function pointer assignment is not necessary.

Signed-off-by: jlbec



Modified: trunk/fs/ocfs2/suballoc.c
===================================================================
--- trunk/fs/ocfs2/suballoc.c	2005-09-15 18:32:28 UTC (rev 2574)
+++ trunk/fs/ocfs2/suballoc.c	2005-09-15 22:59:36 UTC (rev 2575)
@@ -493,7 +493,7 @@
 	}
 
 	(*ac)->ac_inode = igrab(alloc_inode);
-	(*ac)->ac_group_search = &ocfs2_block_group_search;
+	(*ac)->ac_group_search = ocfs2_block_group_search;
 
 	status = ocfs2_reserve_suballoc_bits(osb, *ac);
 	if (status < 0) {
@@ -532,7 +532,7 @@
 		goto bail;
 	}
 	ac->ac_which = OCFS2_AC_USE_MAIN;
-	ac->ac_group_search = &ocfs2_cluster_group_search;
+	ac->ac_group_search = ocfs2_cluster_group_search;
 
 	status = ocfs2_reserve_suballoc_bits(osb, ac);
 	if (status < 0 && status != -ENOSPC)



More information about the Ocfs2-commits mailing list