]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"
authorTheodore Ts'o <tytso@mit.edu>
Fri, 19 Nov 2004 19:28:01 +0000 (14:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Nov 2004 19:28:01 +0000 (14:28 -0500)
was being passed to blkid_set_tag().  Thanks to Andrea
Dilger for pointing this out.

lib/blkid/ChangeLog
lib/blkid/probe.c

index 0eace05e5f55a2d7c60603d9c3e30f0f70978b07..ba74f55bf3b49f894e721b42d9eb546eb994878b 100644 (file)
@@ -1,3 +1,9 @@
+2004-11-19  Theodore Ts'o  <tytso@mit.edu>
+
+       * probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"
+               was being passed to blkid_set_tag().  Thanks to Andrea
+               Dilger for pointing this out.
+
 2004-09-17  Theodore Ts'o  <tytso@mit.edu>
 
        * probe.c, probe.h: Add support for ocfs2 detection, courtesy of
index 1256663f5b1e079b07d1a2bc275ac794789f46c4..de0d75dde603837bfff29e7a1a15d32b80e7ccb1 100644 (file)
@@ -327,7 +327,7 @@ static int probe_ocfs(int fd __BLKID_ATTR((unused)),
 
        major = ocfsmajor(ovh);
        if (major == 1)
-               blkid_set_tag(dev,"SEC_TYPE","ocfs1",sizeof("ocfs"));
+               blkid_set_tag(dev,"SEC_TYPE","ocfs1",sizeof("ocfs1"));
        else if (major >= 9)
                blkid_set_tag(dev,"SEC_TYPE","ntocfs",sizeof("ntocfs"));