diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-28 12:45:40 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:13:02 -0400 |
commit | 0b57b880e61cd764479d9e7818d0d1e45062d08b (patch) | |
tree | 53ab282993180971295331a993fb3b4cfeca712b /arch | |
parent | 4b8a8f1e4f94fd87747e6e3acef74cf0b4dc0dae (diff) |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 68c57d38745a..d43d2d0b90e3 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -149,7 +149,6 @@ static int __fops ## _open(struct inode *inode, struct file *file) \ | |||
149 | return spufs_attr_open(inode, file, __get, __set, __fmt); \ | 149 | return spufs_attr_open(inode, file, __get, __set, __fmt); \ |
150 | } \ | 150 | } \ |
151 | static const struct file_operations __fops = { \ | 151 | static const struct file_operations __fops = { \ |
152 | .owner = THIS_MODULE, \ | ||
153 | .open = __fops ## _open, \ | 152 | .open = __fops ## _open, \ |
154 | .release = spufs_attr_release, \ | 153 | .release = spufs_attr_release, \ |
155 | .read = spufs_attr_read, \ | 154 | .read = spufs_attr_read, \ |
@@ -2591,7 +2590,6 @@ static unsigned int spufs_switch_log_poll(struct file *file, poll_table *wait) | |||
2591 | } | 2590 | } |
2592 | 2591 | ||
2593 | static const struct file_operations spufs_switch_log_fops = { | 2592 | static const struct file_operations spufs_switch_log_fops = { |
2594 | .owner = THIS_MODULE, | ||
2595 | .open = spufs_switch_log_open, | 2593 | .open = spufs_switch_log_open, |
2596 | .read = spufs_switch_log_read, | 2594 | .read = spufs_switch_log_read, |
2597 | .poll = spufs_switch_log_poll, | 2595 | .poll = spufs_switch_log_poll, |