diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-11 09:57:38 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-09-11 13:46:10 +0300 |
commit | 2743c515a1239bb96028bddafef87c0a486f4361 (patch) | |
tree | 19bd60d261eb5c95ec638f8fdda2e56595868bc8 /fs/configfs/configfs_internal.h | |
parent | 1cf7a003b044744c06dfa452cd136e71223b5569 (diff) | |
download | linux-2743c515a1239bb96028bddafef87c0a486f4361.tar.xz |
configfs: make configfs_create() return inode
Get rid of the callback, deal with that and dentry in callers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
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 520f1813e789..c1f2125acf94 100644 --- a/fs/configfs/configfs_internal.h +++ b/fs/configfs/configfs_internal.h @@ -66,7 +66,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, void (*init)(struct inode *)); +extern struct inode *configfs_create(struct dentry *, umode_t mode); extern int configfs_create_file(struct config_item *, const struct configfs_attribute *); extern int configfs_create_bin_file(struct config_item *, |