X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=inline;f=lustre%2Flov%2Flproc_lov.c;h=234eeb331f5f4df43347aaa83f9ca03682ae3a3a;hb=f07508d17b49574c7ea47a855c6e8af2b23c3add;hp=a65b2508fbe65a375ce3d0b8cc385e6bd55173eb;hpb=e07d4a58206756252c28b51048057c87a7cdb3c6;p=fs%2Flustre-release.git diff --git a/lustre/lov/lproc_lov.c b/lustre/lov/lproc_lov.c index a65b250..234eeb3 100644 --- a/lustre/lov/lproc_lov.c +++ b/lustre/lov/lproc_lov.c @@ -54,7 +54,8 @@ static ssize_t lov_stripesize_seq_write(struct file *file, const char __user *buffer, size_t count, loff_t *off) { - struct obd_device *dev = ((struct seq_file *)file->private_data)->private; + struct seq_file *m = file->private_data; + struct obd_device *dev = m->private; struct lov_desc *desc; char kernbuf[22] = ""; u64 val;