File ocfs2console-extraoption-fix.diff of Package ocfs2-tools

From: Coly Li <coly.li@suse.de>
Subject: ocfs2console: remove unsupported option when calling tunefs.ocfs2
References: bnc#472353
commit 1adbec9a9d409f3f2c127ddbff8c4504e2d126ed
Author: Coly Li <coly.li@suse.de>
Date:   Sun Feb 8 12:20:05 2009 +0800

    ocfs2console: remove unsupported option when calling tunefs.ocfs2
    
    ocfs2interface/tune.py call tunefs.ocfs2 with -x option, which is not supported in tunefs.ocfs2.
    This patch remove this unsupported option from ocfs2console.
    
    Signed-off-by: Coly Li <coly.li@suse.de>
    Cc: Joel Becker <joel.becker@oracle.com>
    Signed-off-by: Joel Becker <joel.becker@oracle.com>

diff --git a/ocfs2console/ocfs2interface/tune.py b/ocfs2console/ocfs2interface/tune.py
index c76dbaa..0e514bd 100644
--- a/ocfs2console/ocfs2interface/tune.py
+++ b/ocfs2console/ocfs2interface/tune.py
@@ -24,7 +24,7 @@ from process import Process
 
 from fswidgets import NumSlots, VolumeLabel
 
-base_command = ('tunefs.ocfs2', '-x')
+base_command = ('tunefs.ocfs2',)
 
 class TuneVolumeLabel(VolumeLabel):
     def __init__(self, device=None):
openSUSE Build Service is sponsored by