OSDN Git Service

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 0a3bde8..1e7089e 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 0b8f6ee..2182add 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;
        }