]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/e2fsprogs-1.35-install.patch
Hinzugefuegt:
[people/pmueller/ipfire-2.x.git] / src / patches / e2fsprogs-1.35-install.patch
CommitLineData
cd1a2927
MT
1diff -ruN e2fsprogs-1.34.old/lib/ext2fs/mkjournal.c e2fsprogs-1.34/lib/ext2fs/mkjournal.c
2--- e2fsprogs-1.34.old/lib/ext2fs/mkjournal.c Sun Feb 3 07:03:43 2002
3+++ e2fsprogs-1.34/lib/ext2fs/mkjournal.c Fri Dec 12 11:20:53 2003
4@@ -312,11 +312,7 @@
5 ext2_ino_t journal_ino;
6 struct stat st;
7 char jfile[1024];
8- int fd, mount_flags, f;
9-
10- if ((retval = ext2fs_check_mount_point(fs->device_name, &mount_flags,
11- jfile, sizeof(jfile)-10)))
12- return retval;
13+ int fd, mount_flags=0, f;
14
15 if (mount_flags & EXT2_MF_MOUNTED) {
16 strcat(jfile, "/.journal");