From e080e436f605877e47e4950f5386ed843badbb1b Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Wed, 18 Jul 2007 14:29:06 +0900 Subject: [PATCH] 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 Acked-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed