]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12
authorTheodore Ts'o <tytso@mit.edu>
Fri, 8 Nov 2002 16:57:14 +0000 (11:57 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 8 Nov 2002 16:57:14 +0000 (11:57 -0500)
(2002/08/28): Use the EVMS_IS_MOUNTED macro.

lib/evms/ChangeLog
lib/evms/fs_ext2.c

index 0a3bde815dc38c54f01879bdade6461d8470439a..1e7089e69d032dd78fb0a6aff9faa2735d28288f 100644 (file)
@@ -1,5 +1,8 @@
 2002-11-08  Theodore Ts'o  <tytso@mit.edu>
 
+       * 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.
index 0b8f6ee2bc30eac223408d3adb790cdb98ee792c..2182add9b2c237a2555568a769201f5889c0ad77 100644 (file)
@@ -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;
        }