aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fscache
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-05-27 22:40:31 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-29 19:08:00 -0400
commit84c60b1388249a0167d5fe8160f84e66a1221ba8 (patch)
treefb1f798db05b349733563e4a317c5a7e1be68f41 /fs/fscache
parente0d508f1092db9a56cc6ed617f473a2704f7f683 (diff)
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>
Diffstat (limited to 'fs/fscache')
-rw-r--r--fs/fscache/histogram.c1
-rw-r--r--fs/fscache/object-list.c1
-rw-r--r--fs/fscache/stats.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/fs/fscache/histogram.c b/fs/fscache/histogram.c
index 7d637e2335fd..15a3d042247e 100644
--- a/fs/fscache/histogram.c
+++ b/fs/fscache/histogram.c
@@ -99,7 +99,6 @@ static int fscache_histogram_open(struct inode *inode, struct file *file)
99} 99}
100 100
101const struct file_operations fscache_histogram_fops = { 101const struct file_operations fscache_histogram_fops = {
102 .owner = THIS_MODULE,
103 .open = fscache_histogram_open, 102 .open = fscache_histogram_open,
104 .read = seq_read, 103 .read = seq_read,
105 .llseek = seq_lseek, 104 .llseek = seq_lseek,
diff --git a/fs/fscache/object-list.c b/fs/fscache/object-list.c
index 6b028b7c4250..5d5ddaa84b21 100644
--- a/fs/fscache/object-list.c
+++ b/fs/fscache/object-list.c
@@ -404,7 +404,6 @@ static int fscache_objlist_release(struct inode *inode, struct file *file)
404} 404}
405 405
406const struct file_operations fscache_objlist_fops = { 406const struct file_operations fscache_objlist_fops = {
407 .owner = THIS_MODULE,
408 .open = fscache_objlist_open, 407 .open = fscache_objlist_open,
409 .read = seq_read, 408 .read = seq_read,
410 .llseek = seq_lseek, 409 .llseek = seq_lseek,
diff --git a/fs/fscache/stats.c b/fs/fscache/stats.c
index 7cfa0aacdf6d..7ac6e839b065 100644
--- a/fs/fscache/stats.c
+++ b/fs/fscache/stats.c
@@ -295,7 +295,6 @@ static int fscache_stats_open(struct inode *inode, struct file *file)
295} 295}
296 296
297const struct file_operations fscache_stats_fops = { 297const struct file_operations fscache_stats_fops = {
298 .owner = THIS_MODULE,
299 .open = fscache_stats_open, 298 .open = fscache_stats_open,
300 .read = seq_read, 299 .read = seq_read,
301 .llseek = seq_lseek, 300 .llseek = seq_lseek,