| 201 | bool is_root() const { return ino == CEPH_INO_ROOT; } |
| 202 | bool is_symlink() const { return (mode & S_IFMT) == S_IFLNK; } |
| 203 | bool is_dir() const { return (mode & S_IFMT) == S_IFDIR; } |
| 204 | bool is_file() const { return (mode & S_IFMT) == S_IFREG; } |
| 205 | |
| 206 | // use i_flags as 1 << 14 will overlap with other mode bits. |
no outgoing calls