else if (S_ISFIFO(inode->i_mode))
filp->f_op = &ll_special_fifo_file_fops;
- CWARN("saved %p, replaced with %p\n", *pfop, filp->f_op);
+ CDEBUG(D_INFO,"saved %p, replaced with %p\n", *pfop,filp->f_op);
if ((*pfop)->owner)
- CWARN("%p has owner %p\n", *pfop,(*pfop)->owner);
+ CDEBUG(D_INFO,"%p has owner %p\n",*pfop,(*pfop)->owner);
}
}
}
lprocfs_counter_incr(sbi->ll_stats, LPROC_LL_RELEASE);
- err = ll_mdc_close(sbi->ll_mdc_exp, inode, filp);
+ err = ll_mdc_close(sbi->ll_lmv_exp, inode, filp);
if (err && rc == 0)
rc = err;
err = ll_local_open(filp, it);
if (rc != 0) {
- CERROR("error opening special file: rc %d", rc);
- ll_mdc_close(ll_i2sbi(inode)->ll_mdc_exp, inode, filp);
+ CERROR("error opening special file: rc %d\n", rc);
+ ll_mdc_close(ll_i2sbi(inode)->ll_lmv_exp, inode, filp);
} else if (err) {
if (pfop && *pfop) {
if ((*pfop)->release)
};
struct file_operations ll_special_chr_inode_fops = {
- .owner = THIS_MODULE,
+ //FIXME .owner = THIS_MODULE,
.open = ll_special_open,
};
struct file_operations ll_special_blk_inode_fops = {
- .owner = THIS_MODULE,
+ //FIXME .owner = THIS_MODULE,
.read = ll_special_read,
.write = ll_special_write,
.ioctl = ll_special_ioctl,
};
struct file_operations ll_special_fifo_inode_fops = {
- .owner = THIS_MODULE,
+ //FIXME .owner = THIS_MODULE,
.open = ll_special_open,
};
struct file_operations ll_special_sock_inode_fops = {
- .owner = THIS_MODULE,
+ //FIXME .owner = THIS_MODULE,
.open = ll_special_open
};
struct file_operations ll_special_chr_file_fops = {
- .owner = THIS_MODULE,
+ //FIXME .owner = THIS_MODULE,
.llseek = ll_special_file_seek,
.read = ll_special_file_read,
.write = ll_special_file_write,
};
struct file_operations ll_special_fifo_file_fops = {
- .owner = THIS_MODULE,
+ //FIXME .owner = THIS_MODULE,
.llseek = ll_special_file_seek,
.read = ll_special_file_read,
.write = ll_special_file_write,