From 055e034d16f2d358fa6712c190fc8d3742e9531d Mon Sep 17 00:00:00 2001 From: Julien Rottenberg Date: Tue, 14 Sep 2010 16:14:35 -0700 Subject: plugin/nfs: remove ds_names to keep it simple --- plugin/nfs.php | 44 -------------------------------------------- 1 file changed, 44 deletions(-) (limited to 'plugin') diff --git a/plugin/nfs.php b/plugin/nfs.php index d389963..be131c2 100644 --- a/plugin/nfs.php +++ b/plugin/nfs.php @@ -17,55 +17,11 @@ $obj->data_sources = array('value'); switch($obj->args['pinstance']) { case 'v2client': $obj->order = array('create', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'null', 'readdir', 'readlink', 'read', 'remove', 'rename', 'rmdir', 'root', 'setattr', 'symlink', 'wrcache', 'write'); - $obj->ds_names = array( - 'create' => 'Create ', - 'fsstat' => 'FSStat ', - 'getattr' => 'GetAttr ', - 'link' => 'Link ', - 'lookup' => 'Lookup ', - 'mkdir' => 'MkDir ', - 'null' => 'Null ', - 'readdir' => 'ReadDir ', - 'readlink' => 'ReadLink ', - 'read' => 'Read ', - 'remove' => 'Remove ', - 'rename' => 'Rename ', - 'rmdir' => 'RmDir ', - 'root' => 'Root ', - 'setattr' => 'SetAttr ', - 'symlink' => 'SymLink ', - 'wrcache' => 'WrCache ', - 'write' => 'Write ', - ); $obj->generate_colors(); break; case 'v3client': $obj->order = array('access', 'commit', 'create', 'fsinfo', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'mknod', 'null', 'pathconf', 'read', 'readdir', 'readdirplus', 'readlink', 'remove', 'rename', 'rmdir', 'setattr', 'symlink', 'write'); - $obj->ds_names = array( - 'getattr' => 'GetAttr ', - 'setattr' => 'SetAttr ', - 'lookup' => 'Lookup ', - 'access' => 'Access ', - 'readlink' => 'ReadLink ', - 'read' => 'Read ', - 'write' => 'Write ', - 'create' => 'Create ', - 'mkdir' => 'MkDir ', - 'symlink' => 'Symlink ', - 'mknod' => 'MkNode ', - 'remove' => 'Remove ', - 'rmdir' => 'RmDir ', - 'rename' => 'Rename ', - 'link' => 'Link ', - 'readdir' => 'ReadDir ', - 'readdirplus' => 'ReadDirPlus ', - 'fsstat' => 'FsStat ', - 'fsinfo' => 'FsInfo ', - 'pathconf' => 'PathConf ', - 'commit' => 'Commit ', - 'null' => 'Null ', - ); $obj->generate_colors(); break; -- cgit v1.1