commit | 3f6fbf95c0f1c1dc2fc70692ee3e6c49f170df80 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Nov 20 16:13:06 2011 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Nov 20 16:16:41 2011 -0500 |
tree | 1d6a18e57bf909d90e3d30aa307cf33c880f8ebc | |
parent | 13dcce8bb46961fcab14e87343e25aaebef7f44c [diff] |
resize2fs: treat EINVAL to mean the new resize ioctl does not exist Linux's compat_sys_ioctl() function, which is run when executing a ioctl using a 32-bit binary on a 64-bit kernel, returns EINVAL when an inode does not exist. Sigh. See /usr/src/linux/fs/compat_ioctl.c. This is probably a kernel bug, but work around it for now. Addresses-Debian-Bug: #644989 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>