Revert "sysfs: Kill nlink counting."
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 21:03:10 +0000 (13:03 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 21:03:10 +0000 (13:03 -0800)
commit54d20f006ceff1f2f1e69d0e54049b6c0765c039
treee2418ba2f9ee4830d4fc3e16599189b8e1256899
parent7b60a18da393ed70db043a777fd9e6d5363077c4
Revert "sysfs: Kill nlink counting."

This reverts commit 524b6c5b39b931311dfe5a2f5abae2f5c9731676.

It has shown to break userspace tools, which is not acceptable.

Reported-by: Jiri Slaby <jslaby@suse.cz>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/dir.c
fs/sysfs/inode.c
fs/sysfs/sysfs.h