From: Theodore Ts'o Date: Fri, 8 Nov 2002 16:57:14 +0000 (-0500) Subject: fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12 X-Git-Tag: E2FSPROGS-1_31~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d894e8b858832b3c5533c1ed5b1d58bd8b4f43e7;p=thirdparty%2Fe2fsprogs.git fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12 (2002/08/28): Use the EVMS_IS_MOUNTED macro. --- diff --git a/lib/evms/ChangeLog b/lib/evms/ChangeLog index 0a3bde815..1e7089e69 100644 --- a/lib/evms/ChangeLog +++ b/lib/evms/ChangeLog @@ -1,5 +1,8 @@ 2002-11-08 Theodore Ts'o + * fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12 + (2002/08/28): Use the EVMS_IS_MOUNTED macro. + * fs_ext2.c (fs_expand, fs_shrink): Synchronize with EVMS CVS rev 1.11 (2002/8/27). Read from the resize2fs output in non-blocking mode, so the GUI continues to updates the window. diff --git a/lib/evms/fs_ext2.c b/lib/evms/fs_ext2.c index 0b8f6ee2b..2182add9b 100644 --- a/lib/evms/fs_ext2.c +++ b/lib/evms/fs_ext2.c @@ -294,7 +294,7 @@ static int fs_expand( logical_volume_t * volume, } /* don't expand if mounted */ - if (EngFncs->is_mounted(volume->name, NULL)) { + if (EVMS_IS_MOUNTED(volume)) { rc = EBUSY; goto errout; }