git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
[pandora-kernel.git]
/
include
/
linux
/
path.h
diff --git
a/include/linux/path.h
b/include/linux/path.h
index
915e0c3
..
edc98de
100644
(file)
--- a/
include/linux/path.h
+++ b/
include/linux/path.h
@@
-12,4
+12,9
@@
struct path {
extern void path_get(struct path *);
extern void path_put(struct path *);
extern void path_get(struct path *);
extern void path_put(struct path *);
+static inline int path_equal(const struct path *path1, const struct path *path2)
+{
+ return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
+}
+
#endif /* _LINUX_PATH_H */
#endif /* _LINUX_PATH_H */