From d894e8b858832b3c5533c1ed5b1d58bd8b4f43e7 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 8 Nov 2002 11:57:14 -0500 Subject: [PATCH] fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12 (2002/08/28): Use the EVMS_IS_MOUNTED macro. --- lib/evms/ChangeLog | 3 +++ lib/evms/fs_ext2.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/evms/ChangeLog b/lib/evms/ChangeLog index 0a3bde8..1e7089e 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 0b8f6ee..2182add 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; } -- 1.8.3.1