Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2009 18:05:26 GMT
From:      Aditya Sarawgi <truncs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 165265 for review
Message-ID:  <200906261805.n5QI5Qdq053804@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165265

Change 165265 by truncs@aditya on 2009/06/26 18:04:46

	Rename ext2fs_* to ext2_* to avoid confusion.

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#12 edit

Differences ...

==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#12 (text+ko) ====

@@ -56,8 +56,8 @@
 static ino_t	ext2_hashalloc(struct inode *, int, long, int,
 				daddr_t (*)(struct inode *, int, daddr_t, 
 						int));
-static daddr_t	ext2fs_nodealloccg(struct inode *, int, daddr_t. int);
-static daddr_t  ext2fs_mapsearch(struct m_ext2fs *, char *, daddr_t);
+static daddr_t	ext2_nodealloccg(struct inode *, int, daddr_t. int);
+static daddr_t  ext2_mapsearch(struct m_ext2fs *, char *, daddr_t);
 
 /*
  * Linux calls this functions at the following locations:
@@ -548,7 +548,7 @@
  * free inodes, the one with the smallest number of directories.
  */
 static ino_t
-ext2fs_dirpref(struct m_ext2fs *fs)
+ext2_dirpref(struct m_ext2fs *fs)
 {
         int maxspace, avgifree;
 	ino_t cg, mincg;
@@ -574,7 +574,7 @@
  *   3) brute force search for a free block.
  */
 static ino_t
-ext2fs_hashalloc(struct inode *ip, int cg, long pref, int size,
+ext2_hashalloc(struct inode *ip, int cg, long pref, int size,
                 daddr_t (*allocator)(struct inode *, int, daddr_t, int))
 {
         struct m_ext2fs *fs;
@@ -768,7 +768,7 @@
  */
 
 static daddr_t
-ext2fs_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref)
+ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref)
 {
 	daddr_t bno;
 	int start, len, loc, i, map;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906261805.n5QI5Qdq053804>