forked from pool/e2fsprogs
15 lines
301 B
Diff
15 lines
301 B
Diff
|
--- BUILD/ext2resize-1.1.19/src/ext2online.c
|
||
|
+++ BUILD/ext2resize-1.1.19/src/ext2online.c
|
||
|
@@ -512,9 +512,9 @@
|
||
|
*/
|
||
|
if (ext2_ioctl(fs, EXT2_IOC_GROUP_EXTEND, &size))
|
||
|
fs->flags |= FL_IOCTL;
|
||
|
- else if (errno != ENOTTY)
|
||
|
+ else
|
||
|
return 0;
|
||
|
-
|
||
|
+
|
||
|
ra = fs->newblocks - size;
|
||
|
|
||
|
/* Add new groups */
|