projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git]
/
include
/
linux
/
kernfs.h
diff --git
a/include/linux/kernfs.h
b/include/linux/kernfs.h
index
9e8ca87
..
1093abf
100644
(file)
--- a/
include/linux/kernfs.h
+++ b/
include/linux/kernfs.h
@@
-98,6
+98,11
@@
struct kernfs_elem_dir {
* better directly in kernfs_node but is here to save space.
*/
struct kernfs_root *root;
* better directly in kernfs_node but is here to save space.
*/
struct kernfs_root *root;
+ /*
+ * Monotonic revision counter, used to identify if a directory
+ * node has changed during negative dentry revalidation.
+ */
+ unsigned long rev;
};
struct kernfs_elem_symlink {
};
struct kernfs_elem_symlink {
@@
-188,7
+193,7
@@
struct kernfs_root {
u32 id_highbits;
struct kernfs_syscall_ops *syscall_ops;
u32 id_highbits;
struct kernfs_syscall_ops *syscall_ops;
- /* list of kernfs_super_info of this root, protected by kernfs_
mutex
*/
+ /* list of kernfs_super_info of this root, protected by kernfs_
rwsem
*/
struct list_head supers;
wait_queue_head_t deactivate_waitq;
struct list_head supers;
wait_queue_head_t deactivate_waitq;