summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xraidguessfs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/raidguessfs.py b/raidguessfs.py
index 5e8433a..28749f6 100755
--- a/raidguessfs.py
+++ b/raidguessfs.py
@@ -179,7 +179,7 @@ class RaidGuessFS(fuse.Fuse):
def update_raid_subraid_count(self, arg):
i = self._aton(arg)
- self.raid.set_subraid_count(i)
+ self.raid.set_raid_subraid_count(i)
self._refresh_raid_fattr()
def update_raid_chunk_size(self, arg):
@@ -194,7 +194,7 @@ class RaidGuessFS(fuse.Fuse):
raise ValueError('update_raid_type() : raid type could be in %s'%myraid.MyRaid.RAID_TYPES)
def update_raid_disk_order(self, arg):
- logging.debug("Enter update_raid_disk_order(%s)"%arg)
+ logging.debug("Enter update_raid_disk_order()")
if type(arg) is str:
l = map(int,arg.split())
elif type(arg) is list:
@@ -205,7 +205,7 @@ class RaidGuessFS(fuse.Fuse):
self.raid.set_raid_disk_order(l)
self._refresh_raid_fattr()
- logging.debug("Exit. update_raid_disk_order(%s)"%arg)
+ logging.debug("Exit. update_raid_disk_order()")
def get_task_start(self):
return 'Write a task_name in this pseudo-file to start it\n'