]> www.infradead.org Git - users/willy/pagecache.git/commit
afs_d_revalidate(): use stable name and parent inode passed by caller
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Jan 2025 05:27:27 +0000 (00:27 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Jan 2025 00:25:23 +0000 (19:25 -0500)
commitda192022f82f075709c60f070f72fae8a185ecff
treeacdb23c9e8976c236784e12b2b91de530e93397a
parent5be1fa8abd7b049f51e6e98e75a37eef5ae2c296
afs_d_revalidate(): use stable name and parent inode passed by caller

No need to bother with boilerplate for obtaining the latter and for
the former we really should not count upon ->d_name.name remaining
stable under us.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/afs/dir.c