e2fsprogs/resize
Theodore Ts'o 200569608f resize2fs: fix on-line resizing
On-line resizing has been broken in the 1.42 series for two reasons:
(a) the call to the new EXT4_IOC_RESIZE_FS ioctl checked for ENOTTY to
indicate that the ioctl does not exist, when in fact EINVAL is what is
returned if the ioctl doesn't exist.  (b) resize2fs was passing in a
pointer to a 64-bit value, when the ioctl expected a 32-bit value.
This was OK on little-endian systems, but it wouldn't work at all on
big-endian systems.

Fix both problems.

Addresses-Debian-Bug: #451388

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-03 20:55:34 -04:00
..
Makefile.in Don't use in-tree header files if using system uuid or blkid libraries 2009-10-04 14:45:08 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
extent.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
main.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
online.c resize2fs: fix on-line resizing 2011-10-03 20:55:34 -04:00
resize2fs.8.in resize2fs.8.in: Document that resize2fs -p only works on offline resizes 2010-11-26 19:35:30 -05:00
resize2fs.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
resize2fs.h resize2fs: Fix up to be 64-bit block number safe 2010-06-13 18:00:00 -04:00
sim_progress.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
test_extent.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
test_extent.in Many files: 1997-06-17 03:52:12 +00:00