[Ocfs2-tools-commits] mfasheh commits r529 - in trunk: debugfs.ocfs2 libocfs2/include

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Dec 30 18:48:45 CST 2004


Author: mfasheh
Date: 2004-12-30 18:48:43 -0600 (Thu, 30 Dec 2004)
New Revision: 529

Modified:
   trunk/debugfs.ocfs2/commands.c
   trunk/libocfs2/include/ocfs2_fs.h
Log:
* cleanup the i_symlink definition



Modified: trunk/debugfs.ocfs2/commands.c
===================================================================
--- trunk/debugfs.ocfs2/commands.c	2004-12-30 23:38:29 UTC (rev 528)
+++ trunk/debugfs.ocfs2/commands.c	2004-12-31 00:48:43 UTC (rev 529)
@@ -698,7 +698,7 @@
 	else if ((inode->i_flags & OCFS2_CHAIN_FL))
 		ret = traverse_chains(gbls.fs, &(inode->id2.i_chain), out);
 	else if (S_ISLNK(inode->i_mode) && !inode->i_clusters)
-		ret = dump_fast_symlink(out, &(inode->id2.i_symlink));
+		ret = dump_fast_symlink(out, inode->id2.i_symlink);
 	else
 		ret = traverse_extents(gbls.fs, &(inode->id2.i_list), out);
 

Modified: trunk/libocfs2/include/ocfs2_fs.h
===================================================================
--- trunk/libocfs2/include/ocfs2_fs.h	2004-12-30 23:38:29 UTC (rev 528)
+++ trunk/libocfs2/include/ocfs2_fs.h	2004-12-31 00:48:43 UTC (rev 529)
@@ -383,7 +383,7 @@
 		ocfs2_local_alloc i_lab;
 		ocfs2_chain_list  i_chain;
 		ocfs2_extent_list i_list;
-		__u8              i_symlink;
+		__u8              i_symlink[0];
 	} id2;
 /* Actual on-disk size is one block */
 } ocfs2_dinode;



More information about the Ocfs2-tools-commits mailing list