hotfix: unfinished dead code in my_shmem.c
This commit is contained in:
parent
0ee280da82
commit
6c5b3626e1
1 changed files with 6 additions and 6 deletions
|
|
@ -263,12 +263,12 @@ static int my_shmem_fops_release(struct inode *inode, struct file *filp)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int my_shmem_fops_fsync(
|
// static int my_shmem_fops_fsync(
|
||||||
struct file *filp, loff_t bgn_off, loff_t end_off, int datasync)
|
// struct file *filp, loff_t bgn_off, loff_t end_off, int datasync)
|
||||||
{
|
// {
|
||||||
pr_info("[%s] Entered.\n", __func__);
|
// pr_info("[%s] Entered.\n", __func__);
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
static const struct file_operations my_shmem_fops = {
|
static const struct file_operations my_shmem_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue