Skip to content

Commit

Permalink
sysfs, kernfs: move dir core code to fs/kernfs/dir.c
Browse files Browse the repository at this point in the history
Move core dir code to fs/kernfs/dir.c.  fs/sysfs/dir.c now only
contains sysfs_warn_dup() and 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.

v2: sysfs_symlink_target_lock was mistakenly relocated to kernfs.  It
    should remain with sysfs.  Fixed.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Tejun Heo authored and Greg Kroah-Hartman committed Nov 30, 2013
1 parent ffed24e commit fd7b9f7
Show file tree
Hide file tree
Showing 4 changed files with 1,005 additions and 999 deletions.
Loading

0 comments on commit fd7b9f7

Please sign in to comment.