Throttle logging so that it's not so bloody easy to accidentally take out a machine with a zombified daemon.

git-svn-id: http://svn.xiph.org/trunk/fusd@12351 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
xiphmont
2007-01-19 07:22:54 +00:00
parent 55b0389911
commit 41185bd56b
2 changed files with 45 additions and 24 deletions

View File

@@ -121,16 +121,15 @@ struct fusd_dev_t_s {
struct task_struct* task;
char *name; /* Name of the device under devfs (/dev) */
char *class_name;
char *dev_name;
struct CLASS *clazz;
int owns_class;
struct class_device *class_device;
char *class_name;
char *dev_name;
struct CLASS *clazz;
int owns_class;
struct class_device *class_device;
void *private_data; /* User's private data */
struct cdev* handle;
dev_t dev_id;
// devfs_handle_t handle; /* The devfs-provided handle */
struct cdev* handle;
dev_t dev_id;
fusd_file_t **files; /* Array of this device's open files */
int array_size; /* Size of the array pointed to by 'files' */