.. | .. |
---|
78 | 78 | .unlocked_ioctl = dbfs_ioctl, |
---|
79 | 79 | }; |
---|
80 | 80 | |
---|
81 | | -int hypfs_dbfs_create_file(struct hypfs_dbfs_file *df) |
---|
| 81 | +void hypfs_dbfs_create_file(struct hypfs_dbfs_file *df) |
---|
82 | 82 | { |
---|
83 | 83 | df->dentry = debugfs_create_file(df->name, 0400, dbfs_dir, df, |
---|
84 | 84 | &dbfs_ops); |
---|
85 | | - if (IS_ERR(df->dentry)) |
---|
86 | | - return PTR_ERR(df->dentry); |
---|
87 | 85 | mutex_init(&df->lock); |
---|
88 | | - return 0; |
---|
89 | 86 | } |
---|
90 | 87 | |
---|
91 | 88 | void hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df) |
---|
.. | .. |
---|
93 | 90 | debugfs_remove(df->dentry); |
---|
94 | 91 | } |
---|
95 | 92 | |
---|
96 | | -int hypfs_dbfs_init(void) |
---|
| 93 | +void hypfs_dbfs_init(void) |
---|
97 | 94 | { |
---|
98 | 95 | dbfs_dir = debugfs_create_dir("s390_hypfs", NULL); |
---|
99 | | - return PTR_ERR_OR_ZERO(dbfs_dir); |
---|
100 | 96 | } |
---|
101 | 97 | |
---|
102 | 98 | void hypfs_dbfs_exit(void) |
---|