]> Gentwo Git Trees - linux/.git/commit
nfsctl: symlink has no business bumping link count of parent directory
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Sep 2025 22:41:52 +0000 (18:41 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Sep 2025 23:40:40 +0000 (19:40 -0400)
commit7e6135fe7b483cd85e28789d70e09cc91064be95
tree2961a1b8d55ff9296543da9e9a8625d741aa9bad
parent76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c
nfsctl: symlink has no business bumping link count of parent directory

mkdir should incrment the parent's refcount; symlink should not.

Reviewed-by: NeilBrown <neil@brown.name>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfsctl.c