search for: write_journal_fil

Displaying 1 result from an estimated 1 matches for "write_journal_fil".

Did you mean: write_journal_file
2001 Jun 22
1
tune2fs 1.21 ext2fs_add_journal_inode problem
...lags & EXT2_MF_MOUNTED) { strcat(jfile, "/.journal"); /* Create the journal file */ if ((fd = open(jfile, O_CREAT|O_WRONLY, 0600)) < 0) return errno; close(fd); if ((retval = write_journal_file(fs, jfile, size, flags))) return retval; /* Get inode number of the journal file */ if (fstat(fd, &st) < 0) return errno; How is this code supposed to work? ;-) Marc