I am working on Linux kernel programming which need to track the file(inode) path.
I know some functions such as S_ISDIR, S_ISLNK to judge if a file is a directory or soft link. But I don't know how to judge if a file(inode) is the ".." file, i.e., the file points to the parent directory?