Commit 0b57b880 authored by Al Viro's avatar Al Viro

spufs: don't bother with fops->owner

filesystem module as whole is pinned down by its superblock, no need
to have opened files on it to add anything to that.
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4b8a8f1e
...@@ -149,7 +149,6 @@ static int __fops ## _open(struct inode *inode, struct file *file) \ ...@@ -149,7 +149,6 @@ static int __fops ## _open(struct inode *inode, struct file *file) \
return spufs_attr_open(inode, file, __get, __set, __fmt); \ return spufs_attr_open(inode, file, __get, __set, __fmt); \
} \ } \
static const struct file_operations __fops = { \ static const struct file_operations __fops = { \
.owner = THIS_MODULE, \
.open = __fops ## _open, \ .open = __fops ## _open, \
.release = spufs_attr_release, \ .release = spufs_attr_release, \
.read = spufs_attr_read, \ .read = spufs_attr_read, \
...@@ -2591,7 +2590,6 @@ static unsigned int spufs_switch_log_poll(struct file *file, poll_table *wait) ...@@ -2591,7 +2590,6 @@ static unsigned int spufs_switch_log_poll(struct file *file, poll_table *wait)
} }
static const struct file_operations spufs_switch_log_fops = { static const struct file_operations spufs_switch_log_fops = {
.owner = THIS_MODULE,
.open = spufs_switch_log_open, .open = spufs_switch_log_open,
.read = spufs_switch_log_read, .read = spufs_switch_log_read,
.poll = spufs_switch_log_poll, .poll = spufs_switch_log_poll,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment