setsuper.c (find_field): Strip the s_prefix if given for ssv fields.
(Suggested by Andreas Dilger)
debugfs.c (do_modify_inode): Add the ability to set the inode
generation number. (Suggested by Andreas Dilger)
+2000-12-30 <tytso@snap.thunk.org>
+
+ * setsuper.c (find_field): Strip the s_prefix if given for ssv
+ fields. (Suggested by Andreas Dilger)
+
+ * debugfs.c (do_modify_inode): Add the ability to set the inode
+ generation number. (Suggested by Andreas Dilger)
+
2000-08-23 <tytso@valinux.com>
* util.c (string_to_inode): Use strtoul instead of atoi, so that
modify_u16(argv[0], "Link count", decimal_format, &inode.i_links_count);
modify_u32(argv[0], "Block count", decimal_format, &inode.i_blocks);
modify_u32(argv[0], "File flags", hex_format, &inode.i_flags);
+ modify_u32(argv[0], "Generation", hex_format, &inode.i_generation);
#if 0
modify_u32(argv[0], "Reserved1", decimal_format, &inode.i_reserved1);
#endif
{
struct super_set_info *ss;
+ if (strncmp(field, "s_", 2) == 0)
+ field += 2;
for (ss = super_fields ; ss->name ; ss++) {
if (strcmp(ss->name, field) == 0)
return ss;