qpi_soft_least_qunit_seq_write(struct file *file, const char __user *buffer,
size_t count, loff_t *off)
{
- struct qmt_pool_info *pool;
+ struct seq_file *m = file->private_data;
+ struct qmt_pool_info *pool = m->private;
long long least_qunit;
int qunit, rc;
- pool = ((struct seq_file *)file->private_data)->private;
LASSERT(pool != NULL);
/* Not tuneable for inode limit */