net/irda: bfin_sir: pull in serial headers for defines
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / path.h
bloba581e8c0653302a4bf5bf5494731af6cad404b2a
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(struct path *);
13 extern void path_get_long(struct path *);
14 extern void path_put(struct path *);
15 extern void path_put_long(struct path *);
17 static inline int path_equal(const struct path *path1, const struct path *path2)
19 return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
22 #endif /* _LINUX_PATH_H */