hotfix: unfinished dead code in my_shmem.c

This commit is contained in:
Zhengyi Chen 2024-01-28 08:04:02 +00:00
parent 0ee280da82
commit 6c5b3626e1

View file

@ -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,