summaryrefslogtreecommitdiffstats
path: root/crypto/ecdsa.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2023-11-12 08:55:57 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2023-11-18 16:15:19 -0500
commit484d4fbfdafea581fdc2fd04df6781c3a59122c9 (patch)
tree3e61220c836d1fa60ed41944c2664851b324dd93 /crypto/ecdsa.c
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
downloadlinux-stable-484d4fbfdafea581fdc2fd04df6781c3a59122c9.tar.gz
linux-stable-484d4fbfdafea581fdc2fd04df6781c3a59122c9.tar.bz2
linux-stable-484d4fbfdafea581fdc2fd04df6781c3a59122c9.zip
ovl: stop using d_alloc_anon()/d_instantiate_anon()
Commit f9c34674bc60 ("vfs: factor out helpers d_instantiate_anon() and d_alloc_anon()") was introduced so overlayfs could initialize a non-dir disconnected overlay dentry before overlay inode is attached to it. Since commit ("0af950f57fef ovl: move ovl_entry into ovl_inode"), all ovl_obtain_alias() can do is set DCACHE_OP_*REVALIDATE flags in ->d_flags and OVL_E_UPPER_ALIAS flag in ->d_fsdata. The DCACHE_OP_*REVALIDATE flags and OVL_E_UPPER_ALIAS flag are irrelevant for a disconnected non-dir dentry, so it is better to use d_obtain_alias() instead of open coding it. Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/ecdsa.c')
0 files changed, 0 insertions, 0 deletions