[gparted] Minor cosmetic fix to reorder Reiser4 detection code



commit 7c2c77126675ca96697481e8de6b1535ca97f325
Author: Curtis Gedak <gedakc gmail com>
Date:   Wed Apr 22 16:55:47 2009 -0600

    Minor cosmetic fix to reorder Reiser4 detection code
    
    Now the Reiser4 detection code better matches the detection code for
    other file systems.
---
 src/GParted_Core.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index a955191..0da3b33 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -905,9 +905,8 @@ GParted::FILESYSTEM GParted_Core::get_filesystem()
 	//other file systems libparted couldn't detect (i've send patches for these file systems to the parted guys)
 	// - no patches sent to parted for lvm2, or luks
 
-	ped_device_open( lp_device );
-
 	//reiser4
+	ped_device_open( lp_device );
 	ped_geometry_read( & lp_partition ->geom, buf, 128, 1 ) ;
 	ped_device_close( lp_device );
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]