gfs2: use is_subdir()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Dec 2023 05:31:57 +0000 (05:31 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 20 Dec 2023 11:46:52 +0000 (12:46 +0100)
commit34d63b8162b7b93e616212bb1026fdc51a35ee21
treef9a9514a973d6e9ac74cf0c6043d394f78ceb3fd
parent34d72246437155299dd08fd29277e6fa31081ea0
gfs2: use is_subdir()

... instead of reimplementing it with misguiding name (is_ancestor(x, y)
would normally imply "x is an ancestor of y", not the other way round).
With races, while we are at it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/super.c