Whamcloud - gitweb
ChangeLog, ext2fs.h, mkjournal.c:
authorTheodore Ts'o <tytso@mit.edu>
Wed, 3 Jan 2001 13:04:12 +0000 (13:04 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Jan 2001 13:04:12 +0000 (13:04 +0000)
  mkjournal.c: rename ext2fs_add_journal_fs() to the more descriptive
   ext2fs_add_journal_inode()

lib/ext2fs/ChangeLog
lib/ext2fs/ext2fs.h
lib/ext2fs/mkjournal.c

index 6ec6d29..64261c2 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-14  Andreas Dilger  <adilger@turbolinux.com>
+
+       * mkjournal.c: rename ext2fs_add_journal_fs() to the more descriptive
+               ext2fs_add_journal_inode()
+
 2001-01-01    <tytso@snap.thunk.org>
 
        * ext2fs.h: Remove definition of ext2fs_sb.  Note: this may break
@@ -30,7 +35,7 @@
 
 2000-12-09    <tytso@snap.thunk.org>
 
-       * ext2fs.h, mkjournal.c (ext2fs_add_journal_fs,
+       * ext2fs.h, mkjournal.c (ext2fs_add_journal_inode,
                ext2fs_add_journal_device): Add a new argument to the APIs
                of these function, which is a flags word.  This is used to
                allow the creation of a V1 superblock for those folks who
index 067fc13..be2c534 100644 (file)
@@ -712,8 +712,8 @@ extern errcode_t ext2fs_mkdir(ext2_filsys fs, ino_t parent, ino_t inum,
 /* mkjournal.c */
 extern errcode_t ext2fs_add_journal_device(ext2_filsys fs, char *device,
                                           blk_t size, int flags);
-extern errcode_t ext2fs_add_journal_fs(ext2_filsys fs, blk_t size,
-                                      int flags);
+extern errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t size,
+                                         int flags);
 
 /* openfs.c */
 extern errcode_t ext2fs_open(const char *name, int flags, int superblock,
index 5246f64..3e5c223 100644 (file)
@@ -195,7 +195,7 @@ static int mkjournal_proc(ext2_filsys               fs,
 /*
  * This function adds a journal inode to a filesystem
  */
-errcode_t ext2fs_add_journal_fs(ext2_filsys fs, blk_t size, int flags)
+errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t size, int flags)
 {
        journal_superblock_t    jsb;
        errcode_t               retval;
@@ -272,7 +272,7 @@ main(int argc, char **argv)
                exit(1);
        }
 
-       retval = ext2fs_add_journal_fs(fs, 1024);
+       retval = ext2fs_add_journal_inode(fs, 1024);
        if (retval) {
                com_err(argv[0], retval, "while adding journal to %s",
                        device_name);