Many files:
ext2fs.h: Remove definition of ext2fs_sb. Note: this may break source
(but not binary) compatibility of some users of the ext2 library.
They should just simply do a global search and replace of struct
ext2fs_sb with struct ext2_super_block, and use their own private copy
of ext2_fs.h if they aren't already.
closefs.c, initialize.c, link.c, newdir.c, openfs.c, swapfs.c: Replace
use of ext2fs_sb with ext2_super_block.
ChangeLog, main.c:
main.c (main): Replace use of struct ext2fs_sb with struct ext2_super_block.
diff --git a/lib/ext2fs/link.c b/lib/ext2fs/link.c
index 293a085..f8d760d 100644
--- a/lib/ext2fs/link.c
+++ b/lib/ext2fs/link.c
@@ -29,7 +29,7 @@
ino_t inode;
int flags;
int done;
- struct ext2fs_sb *sb;
+ struct ext2_super_block *sb;
};
static int link_proc(struct ext2_dir_entry *dirent,
@@ -115,7 +115,7 @@
ls.inode = ino;
ls.flags = flags;
ls.done = 0;
- ls.sb = (struct ext2fs_sb *) fs->super;
+ ls.sb = fs->super;
retval = ext2fs_dir_iterate(fs, dir, DIRENT_FLAG_INCLUDE_EMPTY,
0, link_proc, &ls);