[Ocfs2-commits] mfasheh commits r786 - in trunk/src: . inc

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Mar 17 15:31:06 CST 2004


Author: mfasheh
Date: 2004-03-17 15:31:04 -0600 (Wed, 17 Mar 2004)
New Revision: 786

Modified:
   trunk/src/alloc.c
   trunk/src/inc/proto.h
Log:
updates for a couple of minor typos/ommissions


Modified: trunk/src/alloc.c
===================================================================
--- trunk/src/alloc.c	2004-03-17 20:10:08 UTC (rev 785)
+++ trunk/src/alloc.c	2004-03-17 21:31:04 UTC (rev 786)
@@ -114,7 +114,8 @@
 }
 
 int ocfs_add_to_bitmap_free_head(ocfs_super *osb, ocfs_bitmap_free_head *f, 
-			    u32 len, __u32 fileoff, __u32 nodenum, __u32 type)
+				 __u32 len, __u32 fileoff, __u32 nodenum, 
+				 __u32 type)
 {
 	int status = 0, n;
 	ocfs_free_rec *log;

Modified: trunk/src/inc/proto.h
===================================================================
--- trunk/src/inc/proto.h	2004-03-17 20:10:08 UTC (rev 785)
+++ trunk/src/inc/proto.h	2004-03-17 21:31:04 UTC (rev 786)
@@ -24,6 +24,9 @@
  *	    Manish Singh, Neeraj Goyal, Suchit Kaura
  */
 
+#ifndef _PROTO_H_
+#define _PROTO_H_
+
 int ocfs_allocate_extent (ocfs_super * osb, ocfs_inode * oin, struct buffer_head *fe_bh, ocfs_journal_handle *handle,__u64 actualDiskOffset, __u64 actualLength, struct inode *inode);
 int ocfs_kill_this_tree(ocfs_super *osb, struct buffer_head *extent_grp_bh, ocfs_bitmap_free_head *free_head, struct inode *inode);
 int ocfs_free_extents_for_truncate (ocfs_super * osb, ocfs_file_entry * FileEntry, ocfs_journal_handle *handle, ocfs_bitmap_free_head *free_head, struct inode *inode);
@@ -237,7 +240,7 @@
 
 int ocfs_process_bitmap_free_head(ocfs_super *osb, ocfs_bitmap_free_head *f);
 int ocfs_add_to_bitmap_free_head(ocfs_super *osb, ocfs_bitmap_free_head *f, 
-				 u32 len, __u32 fileoff, __u32 nodenum, 
+				 __u32 len, __u32 fileoff, __u32 nodenum, 
 				 __u32 type);
 
 
@@ -318,3 +321,5 @@
 void ocfs_clear_timeout(ocfs_timeout *to);
 void ocfs_show_stack(unsigned long * esp);
 void ocfs_show_trace(unsigned long * stack);
+
+#endif /* _PROTO_H_ */



More information about the Ocfs2-commits mailing list