Files
linux/fs/proc
Takashi Iwai d10b21d6e5 proc: Fix unbalanced hard link numbers
commit d66bb1607e upstream.

proc_create_mount_point() forgot to increase the parent's nlink, and
it resulted in unbalanced hard link numbers, e.g. /proc/fs shows one
less than expected.

Fixes: eb6d38d542 ("proc: Allow creating permanently empty directories...")
Reported-by: Tristan Ye <tristan.ye@suse.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-25 15:44:37 +02:00
..
2016-09-27 18:47:38 -04:00
2016-09-27 18:47:38 -04:00
2016-09-27 18:47:38 -04:00
2015-06-23 18:01:07 -04:00