drop redundant ->owner initializations
it's not needed for file_operations of inodes located on fs defined in the hosting module and for file_operations that go into procfs. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
此提交包含在:
@@ -3040,7 +3040,6 @@ static int jfs_txanchor_proc_open(struct inode *inode, struct file *file)
|
||||
}
|
||||
|
||||
const struct file_operations jfs_txanchor_proc_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = jfs_txanchor_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
@@ -3081,7 +3080,6 @@ static int jfs_txstats_proc_open(struct inode *inode, struct file *file)
|
||||
}
|
||||
|
||||
const struct file_operations jfs_txstats_proc_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = jfs_txstats_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
|
新增問題並參考
封鎖使用者