diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-28 14:54:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-29 20:55:10 -0500 |
commit | ffed24e22845a3da0ae01095ae3f11c8d16e889d (patch) | |
tree | 7431e61de58265fbc2e58dbe6a6e1d4053875f79 /fs/sysfs/sysfs.h | |
parent | ae6621b0716852146e4655fef7f74a181faa6c81 (diff) |
sysfs, kernfs: move inode code to fs/kernfs/inode.c
There's nothing sysfs-specific in fs/sysfs/inode.c. Move everything
in it to fs/kernfs/inode.c. The respective declarations in
fs/sysfs/sysfs.h are moved to fs/kernfs/kernfs-internal.h.
This is pure relocation.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index f8c936f31b37..93c1910783fc 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -52,19 +52,6 @@ void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt); | |||
52 | struct sysfs_dirent *sysfs_new_dirent(const char *name, umode_t mode, int type); | 52 | struct sysfs_dirent *sysfs_new_dirent(const char *name, umode_t mode, int type); |
53 | 53 | ||
54 | /* | 54 | /* |
55 | * inode.c | ||
56 | */ | ||
57 | struct inode *sysfs_get_inode(struct super_block *sb, struct sysfs_dirent *sd); | ||
58 | void sysfs_evict_inode(struct inode *inode); | ||
59 | int sysfs_permission(struct inode *inode, int mask); | ||
60 | int sysfs_setattr(struct dentry *dentry, struct iattr *iattr); | ||
61 | int sysfs_getattr(struct vfsmount *mnt, struct dentry *dentry, | ||
62 | struct kstat *stat); | ||
63 | int sysfs_setxattr(struct dentry *dentry, const char *name, const void *value, | ||
64 | size_t size, int flags); | ||
65 | int sysfs_inode_init(void); | ||
66 | |||
67 | /* | ||
68 | * file.c | 55 | * file.c |
69 | */ | 56 | */ |
70 | extern const struct file_operations kernfs_file_operations; | 57 | extern const struct file_operations kernfs_file_operations; |