mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-14 14:24:59 +08:00
Use d_is_dir() rather than d_inode and S_ISDIR(). Note that this will include fake directories such as automount triggers. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>