diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-29 08:17:57 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-18 06:15:47 +0300 |
commit | c88b1e70aeaa38aa20e67e436f28c4d36c0b9f4b (patch) | |
tree | 76b3c8285ba4638f2d923e07eda0c3f90a380ff1 /fs/configfs/configfs_internal.h | |
parent | dbca51ddb053567a5248cff0d863301417555b2f (diff) | |
download | linux-c88b1e70aeaa38aa20e67e436f28c4d36c0b9f4b.tar.xz |
configfs: configfs_create() init callback is never NULL and it never fails
... so make it return void and drop the check for it being non-NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/configfs/configfs_internal.h')
-rw-r--r-- | fs/configfs/configfs_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/configfs_internal.h b/fs/configfs/configfs_internal.h index a315677e44d3..ed0fdd156880 100644 --- a/fs/configfs/configfs_internal.h +++ b/fs/configfs/configfs_internal.h @@ -69,7 +69,7 @@ extern struct kmem_cache *configfs_dir_cachep; extern int configfs_is_root(struct config_item *item); extern struct inode * configfs_new_inode(umode_t mode, struct configfs_dirent *, struct super_block *); -extern int configfs_create(struct dentry *, umode_t mode, int (*init)(struct inode *)); +extern int configfs_create(struct dentry *, umode_t mode, void (*init)(struct inode *)); extern int configfs_create_file(struct config_item *, const struct configfs_attribute *); extern int configfs_make_dirent(struct configfs_dirent *, |