Package: ocfs2-tools / 1.8.5-7

Metadata

Package Version Patches format
ocfs2-tools 1.8.5-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
libo2dlm dlopen libdlm_lt.patch | (download)

libo2dlm/o2dlm.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix library name for use with libdlm3
dead_threshold.patch | (download)

o2monitor/o2hbmonitor.c | 2 1 + 1 - 0 !
vendor/common/o2cb.init.sh | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 update sysfs filename for heartbeat dead threshold
systemd service.patch | (download)

vendor/common/o2cb.service | 9 5 + 4 - 0 !
vendor/common/ocfs2.service | 9 5 + 4 - 0 !
2 files changed, 10 insertions(+), 8 deletions(-)

 debianize upstream service files
parallel build.patch | (download)

Makefile | 15 12 + 3 - 0 !
tunefs.ocfs2/Makefile | 1 1 + 0 - 0 !
2 files changed, 13 insertions(+), 3 deletions(-)

 makefile: allow parallel builds

    Split SUBDIRS into groups that can be built in parallel,
    so that something like 'make -j8' now works correctly.

    Add a missing depends for o2cluster.o on o2ne_err.h.

gcc warnings.patch | (download)

debugfs.ocfs2/commands.c | 3 1 + 2 - 0 !
fsck.ocfs2/xattr.c | 5 2 + 3 - 0 !
libocfs2/refcount.c | 6 3 + 3 - 0 !
libocfs2/truncate.c | 2 1 + 1 - 0 !
mkfs.ocfs2/mkfs.c | 2 2 + 0 - 0 !
o2cb_ctl/jconfig.c | 4 2 + 2 - 0 !
6 files changed, 11 insertions(+), 11 deletions(-)

 fix gcc 6 warnings
register_printf_specifier.patch | (download)

tunefs.ocfs2/op_query.c | 22 11 + 11 - 0 !
1 file changed, 11 insertions(+), 11 deletions(-)

 fix gcc 6 warnings
fortify source.patch | (download)

libocfs2/ismounted.c | 3 2 + 1 - 0 !
mount.ocfs2/fstab.c | 6 5 + 1 - 0 !
2 files changed, 7 insertions(+), 2 deletions(-)

 fix warnings reported by -d_fortify_source=2
glibc 2.26.patch | (download)

fsck.ocfs2/Makefile | 2 1 + 1 - 0 !
fsck.ocfs2/pass2.c | 2 1 + 1 - 0 !
fsck.ocfs2/pass5.c | 2 1 + 1 - 0 !
fsck.ocfs2/strings.c | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 fsck.ocfs2: fix compile error when glibc upgrade
    When glibc upgrade to glibc-2.26.90-14, there was a compile error in fsck.ocfs2,
    the compile error messages like,
    
    In file included from /usr/include/string.h:431:0,
                     from ../include/ocfs2/ocfs2.h:41,
                     from pass4.c:32:
    include/strings.h:37:1: error: unknown type name ‘errcode_t’; did you mean ‘mode_t’?
     errcode_t o2fsck_strings_insert(o2fsck_strings *strings, char *string,
     ^~~~~~~~~
     mode_t

makedev.patch | (download)

mounted.ocfs2/mounted.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use <sys/sysmacros.h> include for makedev
 mounted.c: In function ‘build_partition_list’:
 mounted.c:354:13: warning: In the GNU C Library, "makedev" is defined
  by <sys/sysmacros.h>. For historical compatibility, it is
  currently defined by <sys/types.h> as well, but we plan to
  remove this soon. To use "makedev", include <sys/sysmacros.h>
  directly. If you did not intend to use a system-defined macro
  "makedev", you should undefine it after including <sys/types.h>.
        makedev(major, minor), &devname);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~

spelling.patch | (download)

debugfs.ocfs2/debugfs.ocfs2.8.in | 2 1 + 1 - 0 !
fsck.ocfs2/extent.c | 2 1 + 1 - 0 !
fsck.ocfs2/fsck.c | 2 1 + 1 - 0 !
fsck.ocfs2/fsck.ocfs2.8.in | 2 1 + 1 - 0 !
fsck.ocfs2/fsck.ocfs2.checks.8.in | 10 5 + 5 - 0 !
fsck.ocfs2/pass0.c | 4 2 + 2 - 0 !
fsck.ocfs2/pass1b.c | 2 1 + 1 - 0 !
fsck.ocfs2/pass2.c | 4 2 + 2 - 0 !
fsck.ocfs2/refcount.c | 4 2 + 2 - 0 !
libo2cb/o2cb.7.in | 2 1 + 1 - 0 !
libocfs2/ocfs2.7.in | 8 4 + 4 - 0 !
libocfs2/ocfs2_err.et | 2 1 + 1 - 0 !
mkfs.ocfs2/mkfs.ocfs2.8.in | 6 3 + 3 - 0 !
mounted.ocfs2/mounted.c | 2 1 + 1 - 0 !
o2cb_ctl/ocfs2.cluster.conf.5.in | 6 3 + 3 - 0 !
o2info/o2info.1.in | 6 3 + 3 - 0 !
tunefs.ocfs2/feature_indexed_dirs.c | 2 1 + 1 - 0 !
tunefs.ocfs2/feature_quota.c | 4 2 + 2 - 0 !
tunefs.ocfs2/o2cluster.8.in | 4 2 + 2 - 0 !
tunefs.ocfs2/o2cluster.c | 2 1 + 1 - 0 !
vendor/common/o2cb.sysconfig.5.in | 2 1 + 1 - 0 !
21 files changed, 39 insertions(+), 39 deletions(-)

 fix spelling errors reported by lintian
o2cb stop error.patch | (download)

vendor/common/o2cb.init.sh | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix error printed by service o2cb stop
 Unloading module "ocfs2_dlmfs": OK
 Unloading module "ocfs2_stack_o2cb": OK
 /usr/lib/ocfs2-tools/o2cb: line 1151: read: read error: 0: No such device

glibc 2.28.patch | (download)

debugfs.ocfs2/dump_fs_locks.c | 1 1 + 0 - 0 !
extras/check_metaecc.c | 1 1 + 0 - 0 !
extras/compute_groups.c | 2 2 + 0 - 0 !
extras/find_allocation_fragments.c | 1 1 + 0 - 0 !
extras/find_dup_extents.c | 1 1 + 0 - 0 !
extras/find_hardlinks.c | 1 1 + 0 - 0 !
extras/find_inode_paths.c | 1 1 + 0 - 0 !
extras/mark_journal_dirty.c | 1 1 + 0 - 0 !
extras/resize_slotmap.c | 1 1 + 0 - 0 !
extras/set_random_bits.c | 1 1 + 0 - 0 !
libo2cb/o2cb_abi.c | 1 1 + 0 - 0 !
libocfs2/alloc.c | 1 1 + 0 - 0 !
libocfs2/bitmap.c | 1 1 + 0 - 0 !
libocfs2/blockcheck.c | 1 1 + 0 - 0 !
libocfs2/blocktype.c | 1 1 + 0 - 0 !
libocfs2/cached_inode.c | 1 1 + 0 - 0 !
libocfs2/chain.c | 1 1 + 0 - 0 !
libocfs2/chainalloc.c | 1 1 + 0 - 0 !
libocfs2/closefs.c | 1 1 + 0 - 0 !
libocfs2/dir_iterate.c | 1 1 + 0 - 0 !
libocfs2/dirblock.c | 1 1 + 0 - 0 !
libocfs2/dlm.c | 1 1 + 0 - 0 !
libocfs2/expanddir.c | 1 1 + 0 - 0 !
libocfs2/extend_file.c | 1 1 + 0 - 0 !
libocfs2/extent_map.c | 1 1 + 0 - 0 !
libocfs2/extents.c | 1 1 + 0 - 0 !
libocfs2/feature_string.c | 2 2 + 0 - 0 !
libocfs2/fileio.c | 1 1 + 0 - 0 !
libocfs2/freefs.c | 1 1 + 0 - 0 !
libocfs2/image.c | 1 1 + 0 - 0 !
libocfs2/inode.c | 1 1 + 0 - 0 !
libocfs2/inode_scan.c | 1 1 + 0 - 0 !
libocfs2/link.c | 1 1 + 0 - 0 !
libocfs2/lookup.c | 1 1 + 0 - 0 !
libocfs2/memory.c | 1 1 + 0 - 0 !
libocfs2/mkjournal.c | 1 1 + 0 - 0 !
libocfs2/namei.c | 1 1 + 0 - 0 !
libocfs2/openfs.c | 1 1 + 0 - 0 !
libocfs2/refcount.c | 1 1 + 0 - 0 !
libocfs2/slot_map.c | 1 1 + 0 - 0 !
libocfs2/sysfile.c | 1 1 + 0 - 0 !
libocfs2/truncate.c | 1 1 + 0 - 0 !
libocfs2/unlink.c | 1 1 + 0 - 0 !
o2image/o2image.c | 1 1 + 0 - 0 !
44 files changed, 46 insertions(+)

 loff_t now requires _default_source