Release 4.15 include/linux/path.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_PATH_H
#define _LINUX_PATH_H
struct dentry;
struct vfsmount;
struct path {
struct vfsmount *mnt;
struct dentry *dentry;
} __randomize_layout;
extern void path_get(const struct path *);
extern void path_put(const struct path *);
static inline int path_equal(const struct path *path1, const struct path *path2)
{
return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Miklos Szeredi | 36 | 100.00% | 1 | 100.00% |
Total | 36 | 100.00% | 1 | 100.00% |
static inline void path_put_init(struct path *path)
{
path_put(path);
*path = (struct path) { };
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Miklos Szeredi | 26 | 100.00% | 1 | 100.00% |
Total | 26 | 100.00% | 1 | 100.00% |
#endif /* _LINUX_PATH_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Miklos Szeredi | 62 | 54.39% | 2 | 25.00% |
Jan Blunck | 48 | 42.11% | 3 | 37.50% |
Al Viro | 2 | 1.75% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 0.88% | 1 | 12.50% |
Kees Cook | 1 | 0.88% | 1 | 12.50% |
Total | 114 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.