Skip to content
Snippets Groups Projects
Commit 98b83e59 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch b1_6

Fix /proc/fs/lustre/devices on PPC systems.
b=12234
i=nathan
i=scjody
parent eee0d286
No related branches found
No related tags found
No related merge requests found
......@@ -323,7 +323,7 @@ struct lprocfs_vars lprocfs_base[] = {
#endif /* LPROCFS */
#ifdef __KERNEL__
static void *obd_device_list_seq_start(struct seq_file *p, loff_t*pos)
static void *obd_device_list_seq_start(struct seq_file *p, loff_t *pos)
{
if (*pos >= class_devno_max())
return NULL;
......@@ -346,7 +346,7 @@ static void *obd_device_list_seq_next(struct seq_file *p, void *v, loff_t *pos)
static int obd_device_list_seq_show(struct seq_file *p, void *v)
{
int index = *(int*)v;
int index = *(loff_t *)v;
struct obd_device *obd = class_num2obd(index);
char *status;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment