]> git.baikalelectronics.ru Git - kernel.git/commit
ecryptfs: get rid of pointless dget/dput in ->symlink() and ->link()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 Jan 2021 22:32:40 +0000 (17:32 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Mar 2021 15:24:10 +0000 (10:24 -0500)
commit32da5d0afe591016a299a47623a066a852781e9f
tree3c17243fc2f6ce7de7ca599b2a705ba595dcff65
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
ecryptfs: get rid of pointless dget/dput in ->symlink() and ->link()

calls in ->unlink(), ->rmdir() and ->rename() make sense - we want
to prevent the underlying dentries going negative there.  In
->symlink() and ->link() they are absolutely pointless.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/inode.c