aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 0cac49bc0955..9f949b587684 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -3,6 +3,9 @@
3 3
4#include <linux/list.h> 4#include <linux/list.h>
5#include <linux/backing-dev.h> 5#include <linux/backing-dev.h>
6#include <linux/wait.h>
7
8#include <asm/atomic.h>
6 9
7struct nfs_iostats; 10struct nfs_iostats;
8 11
@@ -110,6 +113,9 @@ struct nfs_server {
110 filesystem */ 113 filesystem */
111#endif 114#endif
112 void (*destroy)(struct nfs_server *); 115 void (*destroy)(struct nfs_server *);
116
117 atomic_t active; /* Keep trace of any activity to this server */
118 wait_queue_head_t active_wq; /* Wait for any activity to stop */
113}; 119};
114 120
115/* Server capabilities */ 121/* Server capabilities */