From 288500bca8b236b0a048fe8886817d3063ac8046 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 15 May 2013 14:34:42 +0000 Subject: [PATCH] Accepting request 175750 from home:jankara:branches:filesystems - Updated to 3.1.11 - Support for relative paths in xfs_quota thanks to Satoru Takeuchi. - mkfs.xfs will always go into multidisk mode when filesystem geometry is specified on the command line. - Document all commands in xfs_io. - Remove setfl command from xfs_io. - xfs_metadump will obfuscate symlinks by path component. - mkfs.xfs no longer accepts geometry settings smaller than the physical sector size. - xfs_logprint now supports multiply-logged inode fields and handles continued inode transactions correctly. - kill XLOG_SET - Update release scripts to use git archive to address a missing source file reported by Arkadiusz Mi?kiewicz - Fix a build error with -Werror=format-security, reported by Arkadiusz Mi?kiewicz - mkfs.xfs no longer attempts to discard when -N option is used. - Update 'make deb' to use tarball - Sync up with log reservation changes in the kernel. - Fix possible unallocated memory access in fiemap. - Guard against string overflow in path_to_fspath. - Fix setup_cursor array allocation. - Fix free of unintialized pointer in xfs_acl_valid error path. - Guard against path string overflows. - Check strdup results properly in initallfs(). - Fix attribute no_change_count logic. - Remove extraneous close() in fsrallfs(). - xfs_repair now skips the freelist scan of a corrupt agf when in no-modify mode. - xfs_db now skips freelist scans of corrupt agfs. OBS-URL: https://build.opensuse.org/request/show/175750 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=24 --- xfsprogs-3.1.11.tar.gz | 3 ++ xfsprogs-3.1.6.tar.gz | 3 -- ...gs-avoid-no-return-in-nonvoid-warning.diff | 20 +++++++++ xfsprogs.changes | 41 +++++++++++++++++++ xfsprogs.spec | 6 ++- 5 files changed, 68 insertions(+), 5 deletions(-) create mode 100644 xfsprogs-3.1.11.tar.gz delete mode 100644 xfsprogs-3.1.6.tar.gz create mode 100644 xfsprogs-avoid-no-return-in-nonvoid-warning.diff diff --git a/xfsprogs-3.1.11.tar.gz b/xfsprogs-3.1.11.tar.gz new file mode 100644 index 0000000..8c84635 --- /dev/null +++ b/xfsprogs-3.1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be +size 1399833 diff --git a/xfsprogs-3.1.6.tar.gz b/xfsprogs-3.1.6.tar.gz deleted file mode 100644 index 2c7a4b3..0000000 --- a/xfsprogs-3.1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:66874783bc3c48fc131a46c2ee1efad2f0a841165c2d99c75f5b5ec41112baef -size 1413251 diff --git a/xfsprogs-avoid-no-return-in-nonvoid-warning.diff b/xfsprogs-avoid-no-return-in-nonvoid-warning.diff new file mode 100644 index 0000000..c5ddf9d --- /dev/null +++ b/xfsprogs-avoid-no-return-in-nonvoid-warning.diff @@ -0,0 +1,20 @@ +Index: xfsprogs-3.1.11/repair/incore_ino.c +=================================================================== +--- repair/incore_ino.c ++++ repair/incore_ino.c +@@ -166,6 +166,7 @@ __uint32_t num_inode_references(struct i + return irec->ino_un.ex_data->counted_nlinks.un32[ino_offset]; + default: + ASSERT(0); ++ return 0; /* Avoid compiler warning */ + } + } + +@@ -206,6 +207,7 @@ __uint32_t get_inode_disk_nlinks(struct + return irec->disk_nlinks.un32[ino_offset]; + default: + ASSERT(0); ++ return 0; /* Avoid compiler warning */ + } + } + diff --git a/xfsprogs.changes b/xfsprogs.changes index bd2e07b..e8e91fc 100644 --- a/xfsprogs.changes +++ b/xfsprogs.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Wed May 15 13:30:46 UTC 2013 - jack@suse.cz + +- Updated to 3.1.11 + - Support for relative paths in xfs_quota thanks to Satoru Takeuchi. + - mkfs.xfs will always go into multidisk mode when filesystem + geometry is specified on the command line. + - Document all commands in xfs_io. + - Remove setfl command from xfs_io. + - xfs_metadump will obfuscate symlinks by path component. + - mkfs.xfs no longer accepts geometry settings smaller than the + physical sector size. + - xfs_logprint now supports multiply-logged inode fields and + handles continued inode transactions correctly. + - kill XLOG_SET + - Update release scripts to use git archive to address a + missing source file reported by Arkadiusz Mi?kiewicz + - Fix a build error with -Werror=format-security, reported + by Arkadiusz Mi?kiewicz + - mkfs.xfs no longer attempts to discard when -N option is used. + - Update 'make deb' to use tarball + - Sync up with log reservation changes in the kernel. + - Fix possible unallocated memory access in fiemap. + - Guard against string overflow in path_to_fspath. + - Fix setup_cursor array allocation. + - Fix free of unintialized pointer in xfs_acl_valid error path. + - Guard against path string overflows. + - Check strdup results properly in initallfs(). + - Fix attribute no_change_count logic. + - Remove extraneous close() in fsrallfs(). + - xfs_repair now skips the freelist scan of a corrupt agf + when in no-modify mode. + - xfs_db now skips freelist scans of corrupt agfs. + - Remove unconditional ASSERT(0) in xfs_repair. + - Reduce bb_numrecs in bno/cnt btrees when log consumes all agf space. + - Add depraction message for xfs_check. + - xfs_quota allow user or group names beginning with digits reported by + James Carter. + - Fix manpages and usage() spelling, errors and omissions. + ... + ------------------------------------------------------------------- Thu Oct 4 11:19:30 UTC 2012 - ddiss@suse.com diff --git a/xfsprogs.spec b/xfsprogs.spec index 6f67a27..924a575 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -1,7 +1,7 @@ # # spec file for package xfsprogs # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ BuildRequires: libuuid-devel %else BuildRequires: libuuid-devel %endif -Version: 3.1.6 +Version: 3.1.11 Release: 0 %if 0%{?suse_version} >= 1010 # hint for ZYPP @@ -40,6 +40,7 @@ Group: System/Filesystems Source0: xfsprogs-%{version}.tar.gz Patch0: xfsprogs-docdir.diff Patch1: xfsprogs-ppc64.diff +Patch2: xfsprogs-avoid-no-return-in-nonvoid-warning.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -75,6 +76,7 @@ want to install xfsprogs. %patch0 %endif %patch1 +%patch2 %build export OPTIMIZER="-fPIC"