#define BUFLEN (UUID_MAX + 5)
#ifndef HAVE_ONLY_PROCFS_SEQ
-int lprocfs_wr_evict_client(struct file *file, const char *buffer,
+int lprocfs_wr_evict_client(struct file *file, const char __user *buffer,
unsigned long count, void *data)
{
struct obd_device *obd = data;
int rc = 0;
LASSERT(obd != NULL);
- LASSERT(obd->obd_vars != NULL);
LASSERT(obd->obd_magic == OBD_DEVICE_MAGIC);
LASSERT(obd->obd_type->typ_procroot != NULL);
LASSERT(obd != NULL);
- seq_printf(m, "status: \n");
+ seq_printf(m, "status: ");
if (obd->obd_max_recoverable_clients == 0) {
seq_printf(m, "INACTIVE\n");
goto out;