diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-04-28 15:00:15 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2017-04-28 21:05:26 -0500 |
commit | d66bb1607e2d8d384e53f3d93db5c18483c8c4f7 (patch) | |
tree | 4d063baa6e6130e4c29bb53233d980013ca069ff /net | |
parent | 6c478ae9204b489f6228e4b535c6ac72851e06d8 (diff) | |
download | op-kernel-dev-d66bb1607e2d8d384e53f3d93db5c18483c8c4f7.zip op-kernel-dev-d66bb1607e2d8d384e53f3d93db5c18483c8c4f7.tar.gz |
proc: Fix unbalanced hard link numbers
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: eb6d38d5427b ("proc: Allow creating permanently empty directories...")
Cc: stable@vger.kernel.org
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions