projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b8a8f1
)
spufs: don't bother with fops->owner
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 28 Mar 2013 16:45:40 +0000
(12:45 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:02 +0000
(14:13 -0400)
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>
arch/powerpc/platforms/cell/spufs/file.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/spufs/file.c
b/arch/powerpc/platforms/cell/spufs/file.c
index 68c57d38745a9d175c10964879b9c98ab3e3ea68..d43d2d0b90e3f3902a5687072246622b3b055983 100644
(file)
--- 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) \
return spufs_attr_open(inode, file, __get, __set, __fmt); \
} \
static const struct file_operations __fops = { \
- .owner = THIS_MODULE, \
.open = __fops ## _open, \
.release = spufs_attr_release, \
.read = spufs_attr_read, \
@@
-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 = {
- .owner = THIS_MODULE,
.open = spufs_switch_log_open,
.read = spufs_switch_log_read,
.poll = spufs_switch_log_poll,