我不是很懂这个结构体的写法,第一次看到。
267struct file_operations scull_pipe_fops ={268 .ownr = THIS_MODULE,
269 .llseek = no_llseek,
270 .read = scull_p_read,
271 .write = scull_p_wirte,
272 .poll = scull_p_poll,
273 .ioctl = scull_ioctl,
274 .open = scull_p_open,
275 .release= scull_p_release,
276 .fasync = scull_p_fasync,
277 };
.ownr 这个.代表什么? 写完一条语句,后面为什么不是;而是用,?