Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[linux-2.6.git] / include / linux / path.h
blobd1372186f4315c3de45b3949017026dca2d7f109
1 #ifndef _LINUX_PATH_H
2 #define _LINUX_PATH_H
4 struct dentry;
5 struct vfsmount;
7 struct path {
8 struct vfsmount *mnt;
9 struct dentry *dentry;
12 extern void path_get(const struct path *);
13 extern void path_put(const struct path *);
15 static inline int path_equal(const struct path *path1, const struct path *path2)
17 return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
20 #endif /* _LINUX_PATH_H */