~vcs-imports/ipfire/ipfire-2.x

« back to all changes in this revision

Viewing changes to src/patches/e2fsprogs-1.35-install.patch

  • Committer: ipfire
  • Date: 2006-02-15 21:15:54 UTC
  • Revision ID: git-v1:cd1a2927226c734d96478e12bb768256fb64a06a


git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -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");