aboutsummaryrefslogtreecommitdiff
path: root/fs/sysfs/inode.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-07-18 14:29:06 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-18 15:49:49 -0700
commite080e436f605877e47e4950f5386ed843badbb1b (patch)
tree87acb330e8978738d013f10206562c89b85a1a7b /fs/sysfs/inode.c
parent2c19c49a59ccf2162c0eb999de1ec60c0e07a533 (diff)
sysfs: fix sysfs root inode nlink accounting
While making sysfs indoes hashed, sysfs root inode was left out. Now that nlink accounting depends on the inode being on the hash, sysfs root inode nlink isn't adjusted properly. Put sysfs root inode on the inode hash by allocating it using sysfs_get_inode() like other sysfs inodes. While at it, massage comments a bit. Signed-off-by: Tejun Heo <htejun@gmail.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/inode.c')
0 files changed, 0 insertions, 0 deletions