fs/dcache: export d_same_name() helper
authorXiubo Li <xiubli@redhat.com>
Mon, 16 May 2022 03:23:19 +0000 (11:23 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Aug 2022 22:54:12 +0000 (00:54 +0200)
commit4f48d5da81ee7004a789c8aac2d0dfb2514c37f1
treea4bb8947e618bde2da095dd19648fb3f38b59f16
parent7c2e3d9194f78770fdfd688d0eecfe7132f83138
fs/dcache: export d_same_name() helper

Compare dentry name with case-exact name, return true if names
are same, or false.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/dcache.c
include/linux/dcache.h