Changes between v2.20 and v2.20.1 --------------------------------- commit 4a346e6b64ead1e7fe93d72e4f2bd740973b6079 Author: Karel Zak Date: Thu Oct 20 10:08:07 2011 +0200 build-sys: release++ (v2.20.1) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit 8d537637d723bc781192cc4e61f00b81037c8aa3 Author: Karel Zak Date: Thu Oct 20 10:07:38 2011 +0200 docs: add Release Notes Signed-off-by: Karel Zak docs/v2.20.1-ReleaseNotes | 94 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) commit 316156de44f5ed8801acf43dbaf392d13174ba22 Author: Karel Zak Date: Wed Oct 19 09:21:36 2011 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 4087229afad536ee3b1fdc2d4204cc70c097b682 Author: Karel Zak Date: Thu Oct 20 10:17:00 2011 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 614 +++++++++++++------------- po/cs.po | 615 +++++++++++++------------- po/da.po | 614 +++++++++++++------------- po/de.po | 614 +++++++++++++------------- po/es.po | 614 +++++++++++++------------- po/et.po | 614 +++++++++++++------------- po/eu.po | 615 +++++++++++++------------- po/fi.po | 614 +++++++++++++------------- po/fr.po | 615 +++++++++++++------------- po/gl.po | 612 +++++++++++++------------- po/hu.po | 614 +++++++++++++------------- po/id.po | 614 +++++++++++++------------- po/it.po | 614 +++++++++++++------------- po/ja.po | 1262 ++++++++++++++++++++++++++++++++--------------------- po/nl.po | 615 +++++++++++++------------- po/pl.po | 615 +++++++++++++------------- po/pt_BR.po | 612 +++++++++++++------------- po/ru.po | 614 +++++++++++++------------- po/sl.po | 614 +++++++++++++------------- po/sv.po | 614 +++++++++++++------------- po/tr.po | 614 +++++++++++++------------- po/uk.po | 614 +++++++++++++------------- po/util-linux.pot | 612 +++++++++++++------------- po/vi.po | 614 +++++++++++++------------- po/zh_CN.po | 612 +++++++++++++------------- po/zh_TW.po | 614 +++++++++++++------------- 26 files changed, 8442 insertions(+), 8167 deletions(-) commit 8c0e7bf4a365caa3bc68b807de27bc6a01d8974a Author: Harald Hoyer Date: Thu Oct 20 10:05:20 2011 +0200 switch_root: handle /run and do not mount over existing mounts Handle /run just like /dev, /sys and /proc Do not mount move, if there is already something mounted on the destination folder. Signed-off-by: Harald Hoyer Signed-off-by: Karel Zak sys-utils/switch_root.c | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) commit 7895e133ac5f26fb3b7ac5840e992bc9e655cfea Author: Takeshi Hamasaki Date: Tue Oct 18 16:21:26 2011 +0200 po: update ja.po (from translationproject.org) po/ja.po | 900 ++++++++++++++++++++++---------------------------------------- 1 files changed, 315 insertions(+), 585 deletions(-) commit 33df811f7224bfc2a40737ed5f5ef2589b186c17 Author: Frederik \"Freso\" S. Olesen Date: Wed Sep 7 23:02:19 2011 +0200 mount: remove superfluous "an" under ext4 mount options in mount.8 Signed-off-by: Frederik "Freso" S. Olesen mount/mount.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3dec18371069922a1e399694e1934e7c72ce17f4 Author: Karel Zak Date: Mon Oct 17 18:58:03 2011 +0200 mount: remounting tmpfs read-write hangs (selinux) Reported-by: Petr Pisar Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=746705 Signed-off-by: Karel Zak mount/mount.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit dfd6da13923a8789caf9a8e17290e57b18d7e40c Author: Karel Zak Date: Mon Oct 17 13:27:21 2011 +0200 libmount: unable to umount nfs shares using the force option Reported-by: Federico Simoncelli Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=745746 Signed-off-by: Karel Zak libmount/src/context_umount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 167f69262cb1e647d4c511fdcc024085cdf931b7 Author: Petr Uzel Date: Thu Oct 13 15:10:45 2011 +0200 fstrim: fix section number in referral to manpage Reported-by: Roeland Jansen Addresses: https://bugzilla.novell.com/show_bug.cgi?id=723877 Signed-off-by: Petr Uzel sys-utils/fstrim.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b2af8b1a01201a83c1ef40e2fb0279921a9b26fb Author: Petr Uzel Date: Thu Oct 13 14:40:31 2011 +0200 rtcwake: fix crash (invalid free) ~ $ rtcwake -d X -s 10 *** glibc detected *** rtcwake: munmap_chunk(): invalid pointer: 0x00007fff839253c3 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x733b6)[0x7f582677a3b6] rtcwake[0x4022d5] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f5826725bfd] rtcwake[0x4016b9] ======= Memory map: ======== Signed-off-by: Petr Uzel sys-utils/rtcwake.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 4f4b54a9d9fab4e2f1014b0f10db8f203f00a934 Author: Karel Zak Date: Wed Oct 12 10:15:58 2011 +0200 fdisk: don't shorten long path to disk device Reported-by: Petr Uzel Signed-off-by: Karel Zak fdisk/partname.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 5addc6f8be4b2c82591177709bb176e1947979d0 Author: Karel Zak Date: Tue Oct 11 11:26:31 2011 +0200 mountpoint: support symbolic and relative paths Reported-by: Dave Reisner Signed-off-by: Karel Zak sys-utils/mountpoint.c | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) commit 8c7f77e6e9d7dd7b897e77f3b2368c6d6a971dcf Author: Karel Zak Date: Tue Oct 11 10:47:44 2011 +0200 mountpoint: fallback on stat when /proc isn't mounted Reported-by: Signed-off-by: Karel Zak sys-utils/mountpoint.c | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) commit e17cd28e600671128f98c2de115d87e6ec810132 Author: Dave Reisner Date: Sat Oct 8 23:31:50 2011 -0400 mountpoint: return dev_t from dir_to_device The string returned from this function was never of much use other than to stat the path when the user requested a major:minor pair beyond the true/false exit. Save some processing and directly returning the dev_t on success, and an impossible value on failure. [kzak@redhat.com: - use 0 as dir_to_device() return value on failure] Signed-off-by: Dave Reisner Signed-off-by: Karel Zak sys-utils/mountpoint.c | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) commit 2c73bb01ff6dc637d38224e8688ad8a2ccc0e4bc Author: Karel Zak Date: Sat Oct 1 15:33:53 2011 +0200 build-sys: check scanf %ms modifier Without the check libmount builds on systems that has older than 2.7 glibc are silently unsuccessful. The missing %ms modifier will, at least, result on such system missing output of findmnt and lsblk commands. If either %ms or %as modifiers are present the libmount build is disabled. Based on patch from: Sami Kerola Signed-off-by: Karel Zak Conflicts: include/c.h configure.ac | 38 ++++++++++++++++++++++++++++++++++++++ include/c.h | 9 +++++++++ libmount/src/tab_parse.c | 23 ++++++++++++----------- 3 files changed, 59 insertions(+), 11 deletions(-) commit adf2bef3c77ce6b66eb89f00d830c2b44e618fa4 Author: Sami Kerola Date: Sat Oct 1 13:58:51 2011 +0200 build-sys: rename BUILD_BUG_ON_ZERO definition Definition name is changed to UL_BUILD_BUG_ON_ZERO to avoid collision with a system header. ../include/c.h:72:1: warning: "BUILD_BUG_ON_ZERO" redefined In file included from /usr/include/sys/sysinfo.h:25, from dmesg.c:16: /usr/include/linux/kernel.h:34:1: warning: this is the location of the previous definition Signed-off-by: Sami Kerola include/c.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 960a734e3b3232633fc1508bcd78f112ecc3efa0 Author: Dave Reisner Date: Thu Sep 29 14:56:41 2011 -0400 include,xalloc: check for NULL before calling strdup This fixes a segfault in mount (and possibly elsewhere) when invoked without a -t parameter. Broken in 7ef9fd7 when the common xalloc.h libs were introduced. Signed-off-by: Dave Reisner include/xalloc.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit 8c62239e5ee0970d8227c93cbc81e4693dc88122 Author: Petr Uzel Date: Mon Sep 19 15:29:14 2011 +0200 sfdisk: use unsigned long long to internally represent sector number Unsigned long is only 4 bytes long on i586, which is not enough to represent sector number on todays large disks. Use unsigned long long, which is 8 bytes long, to store the sector numbers internally, so that we could later make some sanity checks and warn the user if the sector numbers exceed the limits imposed by DOS partition table format. Signed-off-by: Petr Uzel fdisk/sfdisk.c | 58 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 29 insertions(+), 29 deletions(-) commit 06bea6636440eade43ad84d666a8f5b8fdb76e30 Author: Petr Uzel Date: Mon Sep 19 15:29:13 2011 +0200 sfdisk: introduce get_ull() function Signed-off-by: Petr Uzel fdisk/sfdisk.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) commit e08c42b439438e07c81a3b96b1f07e648055f86e Author: Petr Uzel Date: Mon Sep 19 15:29:12 2011 +0200 sfdisk: get_disksize() returns long long unsigned long is 4 bytes long on i586, which is not enough for big HDD's with 512B sectors. Use unsigned long long, which is 8 bytes. Signed-off-by: Petr Uzel fdisk/sfdisk.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 77c4a5dcd667180c608a390de9693cd95a82c28d Author: Petr Uzel Date: Mon Sep 19 15:29:11 2011 +0200 sfdisk: make the cylinder boundary check less fatal If the specified format is not cylinders, make the cylinder boundary check only print a warning and proceed anyways. Signed-off-by: Petr Uzel fdisk/sfdisk.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit c43b7bb6ab565e004808f2de5587c40f43367ab4 Author: Petr Uzel Date: Mon Sep 19 15:29:09 2011 +0200 sfdisk: file descriptor is of int type Signed-off-by: Petr Uzel fdisk/sfdisk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 34f8084353998b39a88b3128afc85f23a2548c57 Author: Dave Reisner Date: Sat Sep 17 17:20:47 2011 -0400 blkid: fix unfinished sentence for -l option in blkid.8 Signed-off-by: Dave Reisner misc-utils/blkid.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 529278e6f4b71510f013e95b7af70409108d5bbd Author: Eric Sandeen Date: Fri Sep 16 19:53:50 2011 -0500 uuidd: Add missing break to option case statement Specifying the "-n" option to uuidd would incorrectly fall through to the "-p" case, and assign that number to the pidfile_path. Signed-off-by: Eric Sandeen misc-utils/uuidd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 963da7c27e1baec74605ac64f7d9890ef4d27cb6 Author: Francesco Cosoleto Date: Thu Sep 15 16:17:46 2011 +0200 libmount: fix use of logical '&&' with constant operand Found by clang. Signed-off-by: Francesco Cosoleto libmount/src/context_loopdev.c | 2 +- libmount/src/context_mount.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e87438c235f13397a36c642bb85920d7e8b99736 Author: Francesco Cosoleto Date: Thu Sep 15 16:17:45 2011 +0200 lib,loopdev: fix use of logical '&&' with constant operand Found by clang. Signed-off-by: Francesco Cosoleto lib/loopdev.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 75aaee08f06b92d119ed827c53d1af5474eb16ff Author: Petr Uzel Date: Thu Sep 15 10:19:17 2011 +0200 flock: make flock(1) work on NFSv4 To pleace an exclusive lock on a file, NFSv4 requires the file to be opened RW because of the emulation of flock() by fcntl(): http://www.spinics.net/lists/linux-nfs/msg18502.html So instead of O_RDONLY, open the file in O_RDWR if access() indicates it is possible (unless shared lock is requested). From: Michal Kubecek Signed-off-by: Petr Uzel sys-utils/flock.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit 099945d1f7fe1336439d4d380780efb2c8d97d39 Author: Karel Zak Date: Mon Sep 26 12:34:10 2011 +0200 agetty: test ECHO on c_lflag Reported-by: xinglp Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=739522 Signed-off-by: Karel Zak term-utils/agetty.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 9e66fb3116e9cd215b3dc4eb99a648a02e35c76e Author: Karel Zak Date: Tue Sep 13 22:59:39 2011 +0200 mount: check for target before source on remount Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=737091 Reported-by: Eric Paris Signed-off-by: Karel Zak mount/fstab.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit 718d3b9814a46435696421f94df0aa75fc500875 Author: Petr Uzel Date: Tue Sep 13 11:08:46 2011 +0200 lib: do not attempt to close(0) in sysfs_deinit() If the 'open' fails we 'goto err' which runs 'sysfs_deinit()' on a 'cxt' which hasn't been fully initialised. The 'dir_fd' is still 0, so sysfs_deinit calls "close(0)". Addresses: https://bugzilla.novell.com/show_bug.cgi?id=714151 Reported-by: Diego Ercolani Analysed-by: Neil Brown Signed-off-by: Petr Uzel lib/sysfs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 0f96058686946fe9ba9481472cb6350d4391b212 Author: Karel Zak Date: Mon Sep 12 16:10:45 2011 +0200 blkid: potential null derefence [smatch scan] Signed-off-by: Karel Zak misc-utils/blkid.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 5bc520a5cecf11e7710d74920a0e7c35bcc8f57a Author: Karel Zak Date: Mon Sep 12 15:40:24 2011 +0200 kill: potential null derefence [smatch scan] Signed-off-by: Karel Zak misc-utils/procs.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit f8e57433f7ae7ebcf2f2add4a66284b2a2351c6f Author: Karel Zak Date: Mon Sep 12 15:35:33 2011 +0200 libmount: potential null derefence [smatch scan] Signed-off-by: Karel Zak lib/loopdev.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 5ea62c4b796083a14eb4295a029b1c1ece2d7ee2 Author: Karel Zak Date: Mon Sep 12 15:33:04 2011 +0200 libmount: variable dereferenced before check [smatch scan] Signed-off-by: Karel Zak libmount/src/tab_update.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3a8652ec2e3318405bc35a884dda59d76ec5ca67 Author: Karel Zak Date: Mon Sep 12 15:32:35 2011 +0200 libmount: redundant null check on calling free() [smatch scan] Signed-off-by: Karel Zak libmount/src/context.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit bce431ceda0fc220f1034e96bb5e767e7fabf057 Author: Karel Zak Date: Mon Sep 12 15:28:42 2011 +0200 libmount: use unsigned int for bitfields [smatch scan] Signed-off-by: Karel Zak libmount/src/lock.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 578dbc57498d6e87a28379b4f9482ba59d4272b5 Author: Karel Zak Date: Mon Sep 12 13:53:10 2011 +0200 include,c.h: include fcntl.h before check for O_CLOEXEC [smatch scan] Signed-off-by: Karel Zak include/c.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 2e021f76fccef63a5193a0a0d059c3516bb4e8ee Author: Francesco Cosoleto Date: Sat Sep 10 19:06:09 2011 +0200 fdformat: fix uninitialized variable Spotted by EKOPath compiler. Signed-off-by: Francesco Cosoleto disk-utils/fdformat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 261ea7865a16b40bc007eed8495bc22a213af9ea Author: Sami Kerola Date: Sat Sep 10 10:38:05 2011 +0200 build-sys: ddate typo fixed Signed-off-by: Sami Kerola configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 66c200adbcffba12cc0e51eb30ba92609a4b3b6e Author: Heiko Carstens Date: Tue Sep 6 02:52:55 2011 +0200 lscpu: allow read_cache() to be called for offline cpus First check path before accessing files to be sure they actually exist. This is necessary when also informations for offline CPUs will be printed. Since we do not necessarily know if "cpu is offline" means the same as "path does not exist" just check for it. Signed-off-by: Heiko Carstens sys-utils/lscpu.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 4f02e85bea6ffd5409e382a8d9e689a7c0c7068c Author: Heiko Carstens Date: Tue Sep 6 02:52:54 2011 +0200 lscpu: simplify cache column output function Simplify the logic to "always print a ',' for each cache except if it is the last one. This is also a preparation patch for printing the cache column for offline CPUs where it would print one colon too much because of the current logic. Signed-off-by: Heiko Carstens sys-utils/lscpu.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 1c336d735f428ef5d66391ddf4ee425e3f1fad5d Author: Heiko Carstens Date: Tue Sep 6 02:52:53 2011 +0200 lscpu: fix cache output for extended parsable output The extended parsable output prints a colon instead of comma between each item. The case where a CPU doesn't belong to any cache was not converted. Just fix this. Signed-off-by: Heiko Carstens sys-utils/lscpu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 687b4a06a1df8d80f1ebbc58bf9498a18b895979 Author: Heiko Carstens Date: Tue Sep 6 02:52:52 2011 +0200 lscpu: remove comma operator Fix typo where the comma operator has been introduced. Use a semicolon instead so we end up with simple assignment expressions. Signed-off-by: Heiko Carstens sys-utils/lscpu.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f57d96050dd74631430e51f75942e97d886473c0 Author: maximilian attems Date: Wed Sep 7 00:41:25 2011 +0200 libuuid: add limits.h include for OPEN_MAX Needed as definition for usage in close_all_fds(). Noticed on klibc build. Signed-off-by: maximilian attems libuuid/src/gen_uuid.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit c02683500686ac877c7de4707834362b1069c1d7 Author: Karel Zak Date: Wed Sep 7 07:37:03 2011 +0200 agetty: double equals sign typo in opentty() Reported-by: Francesco Cosoleto Signed-off-by: Karel Zak term-utils/agetty.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d03771272483cae8bcf8e2f15d915b6d2b61d7ec Author: Natanael Copa Date: Tue Aug 30 11:50:28 2011 +0000 script: fix building with --disable-nls We should only include the libintl.h when NLS is requested. This fixes issue when building util-linux with uClibc. Signed-off-by: Natanael Copa Signed-off-by: Karel Zak term-utils/script.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 8c3b3cb11fbba4375d0a85365ffdcaea72d1978a Author: Karel Zak Date: Tue Sep 6 03:18:46 2011 +0200 write: fix path for freopen() Reported-by: xinglp Signed-off-by: Karel Zak term-utils/write.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ed6de6f7acb8a48e4f38f429aa338858e63eeac9 Author: Karel Zak Date: Fri Sep 2 14:42:04 2011 +0200 dmesg: remove extra space only after time stamp Signed-off-by: Karel Zak sys-utils/dmesg.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 980048bf84b1aae479bfb4b6a162747fa1c6fdbf Author: Karel Zak Date: Wed Aug 31 17:10:31 2011 +0200 build-sys: remove redundant __progname check Signed-off-by: Karel Zak configure.ac | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) commit 7a8e6f9ce6a5921cb9fbeda61007232d653e82ed Author: Karel Zak Date: Wed Aug 31 12:28:39 2011 +0200 dmesg: fix for non-CONFIG_PRINTK_TIME kernels * dmesg(1) incorrectly assumes that lines like "<6>\n" are broken. * it's more robust to assume the end of the record is "\n<" * print \n for empty lines Reported-by: "Gabor Z. Papp" Signed-off-by: Karel Zak sys-utils/dmesg.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit 04c36ce9d91b93c58c91bd6ad365f5cb91662cb3 Author: Heiko Carstens Date: Wed Aug 10 10:34:31 2011 +0200 lscpu: use hypervisor generated topology information The readable output prints also informations like cores per socket etc. On newer kernel versions on s390 this information is available via /proc/sysinfo. However it does not contain the layout of the guest but the layout of the real machine. Nevertheless this is better than random guessing with completely broken numbers like we have it now on s390. If the information is not available we fall back to old mechanism with more or less random numbers. Signed-off-by: Heiko Carstens Signed-off-by: Karel Zak sys-utils/lscpu.c | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-) commit d94f62fe46feef1230b288bd51f1e9dbe1782cb6 Author: Heiko Carstens Date: Wed Aug 10 10:34:29 2011 +0200 lscpu: fix fallback nthreads calculation The fallback calculation of nthreads did not consider books. In order to avoid division/multiply by/with zero make sure each number used is at least "1". Signed-off-by: Heiko Carstens sys-utils/lscpu.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) commit 0ee7da4d8021e2b1f24b4d04b96a3b953fe7d5a0 Author: Heiko Carstens Date: Wed Aug 10 10:34:28 2011 +0200 lscpu: fix cpu map array sizes Completely virtualized architectures like s390 may have multiple virtual sockets and/or cores where each of them has a different number of cores and cpus. So the general assumption within the allocation scheme that e.g. each socket contains the same number of cores is not necessarily true. To make sure the arrays are always large enough we simply allocate enough memory so that each array could hold cpu masks for all present cpus. Signed-off-by: Heiko Carstens sys-utils/lscpu.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) commit d25ad908fdbe098dbee7b5e46bc71a3c10476d6d Author: Heiko Carstens Date: Wed Aug 10 10:34:27 2011 +0200 lscpu: fix s390 bogomips detection coding style Just make the s390 bogomips detection line look like all others. Signed-off-by: Heiko Carstens sys-utils/lscpu.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 0e31d4dfe97f2032d6cbff4227f37695e718af2f Author: Petr Uzel Date: Tue Aug 30 10:17:24 2011 +0200 sfdisk.8: fix formatting Signed-off-by: Petr Uzel fdisk/sfdisk.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c2aa7c491c33033ae805c37325000a9344b2d802 Author: maximilian attems Date: Mon Aug 29 18:59:35 2011 +0200 raw: fix shadowing of minor function Noticed while compiling against klibc: raw.c: In function ‘query’: raw.c:219:16: error: called object ‘minor’ is not a function Rename variable from minor to minor_raw. While at it mark the functions as static and small whitespace fixes as asked by checkpatch. [kzak@redhat.com: - rename variable at line 241 too] Signed-off-by: maximilian attems Signed-off-by: Karel Zak disk-utils/raw.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit 5c8e3d274588f81458d264b86926901316af2849 Author: Karel Zak Date: Tue Aug 30 09:46:10 2011 +0200 build-sys: don't install ru/ddate.1 if ddate disabled Signed-off-by: Karel Zak man/ru/Makefile.am | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)