diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-28 14:54:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-29 18:08:39 -0800 |
commit | 2072f1afddfe9fa00c1c0c79f8986707324ec65b (patch) | |
tree | 636f5f2e0c44082afcded77328bcbcdb62b58f51 /fs/kernfs/kernfs-internal.h | |
parent | 414985ae23c031efbd6d16d484dea8b5de28b8f7 (diff) |
sysfs, kernfs: move symlink core code to fs/kernfs/symlink.c
Move core symlink code to fs/kernfs/symlink.c. fs/sysfs/symlink.c now
only contains sysfs wrappers around kernfs interfaces. 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/kernfs/kernfs-internal.h')
-rw-r--r-- | fs/kernfs/kernfs-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/kernfs/kernfs-internal.h b/fs/kernfs/kernfs-internal.h index 38e3a163e5ad..62ae35f997f7 100644 --- a/fs/kernfs/kernfs-internal.h +++ b/fs/kernfs/kernfs-internal.h @@ -149,4 +149,9 @@ extern const struct file_operations kernfs_file_operations; void sysfs_unmap_bin_file(struct sysfs_dirent *sd); +/* + * symlink.c + */ +extern const struct inode_operations sysfs_symlink_inode_operations; + #endif /* __KERNFS_INTERNAL_H */ |