diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-08-20 21:36:31 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:51:08 -0700 |
commit | 9918f9a4817cb6241c727b434d5f8ec5564198de (patch) | |
tree | 76fa5f03994d22e580623baa04ba62c070b94c42 /mm | |
parent | 5a26b79c426f8e55ebf7204cb138eb6b1645d4d3 (diff) | |
download | linux-stable-9918f9a4817cb6241c727b434d5f8ec5564198de.tar.gz linux-stable-9918f9a4817cb6241c727b434d5f8ec5564198de.tar.bz2 linux-stable-9918f9a4817cb6241c727b434d5f8ec5564198de.zip |
sysfs: Rewrite rename in terms of sysfs dirents
This patch rewrites sysfs_rename_dir to perform it's checks
as much as possible on the underlying sysfs_dirents instead
of the contents of the dcache. It turns out that this version
is a little simpler, and a little more like the rest of
the sysfs directory modification code.
tj: fixed double locking of sysfs_mutex
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions