git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quota: drop remount argument to ->quota_on and ->quota_off
[safe/jmp/linux-2.6]
/
include
/
linux
/
dcookies.h
diff --git
a/include/linux/dcookies.h
b/include/linux/dcookies.h
index
1d68428
..
24c806f
100644
(file)
--- a/
include/linux/dcookies.h
+++ b/
include/linux/dcookies.h
@@
-9,10
+9,11
@@
#ifndef DCOOKIES_H
#define DCOOKIES_H
#ifndef DCOOKIES_H
#define DCOOKIES_H
-#include <linux/config.h>
#ifdef CONFIG_PROFILING
#ifdef CONFIG_PROFILING
+#include <linux/dcache.h>
+#include <linux/path.h>
#include <linux/types.h>
struct dcookie_user;
#include <linux/types.h>
struct dcookie_user;
@@
-43,8
+44,7
@@
void dcookie_unregister(struct dcookie_user * user);
*
* Returns 0 on success, with *cookie filled in
*/
*
* Returns 0 on success, with *cookie filled in
*/
-int get_dcookie(struct dentry * dentry, struct vfsmount * vfsmnt,
- unsigned long * cookie);
+int get_dcookie(struct path *path, unsigned long *cookie);
#else
#else
@@
-57,13
+57,12
@@
static inline void dcookie_unregister(struct dcookie_user * user)
{
return;
}
{
return;
}
-
-static inline int get_dcookie(struct dentry * dentry,
- struct vfsmount * vfsmnt, unsigned long * cookie)
+
+static inline int get_dcookie(struct path *path, unsigned long *cookie)
{
return -ENOSYS;
{
return -ENOSYS;
-}
-
+}
+
#endif /* CONFIG_PROFILING */
#endif /* CONFIG_PROFILING */
-
+
#endif /* DCOOKIES_H */
#endif /* DCOOKIES_H */