]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sysctl: Make the directories have nlink == 1
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 8 Jan 2012 08:16:29 +0000 (00:16 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Jan 2012 00:37:55 +0000 (16:37 -0800)
commita15e20982e2fbb06e85da584a0f150784042c17d
tree63f33957dd0d87b6654be8653661f841ce5baf1d
parent1f87f0b52b1d6581168cb80f86746bc4df918d01
sysctl: Make the directories have nlink == 1

I goofed when I made sysctl directories have nlink == 0.
nlink == 0 means the directory has been deleted.
nlink == 1 meands a directory does not count subdirectories.

Use the default nlink == 1 for sysctl directories.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/proc/proc_sysctl.c