summaryrefslogtreecommitdiffstats
path: root/fs/debugfs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fs/debugfs/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/debugfs/internal.h b/fs/debugfs/internal.h
index f7c489b5a3..dae80c2a46 100644
--- a/fs/debugfs/internal.h
+++ b/fs/debugfs/internal.h
@@ -7,6 +7,7 @@
#ifndef _DEBUGFS_INTERNAL_H_
#define _DEBUGFS_INTERNAL_H_
+#include <linux/list.h>
struct file_operations;
@@ -23,6 +24,10 @@ struct debugfs_fsdata {
struct {
refcount_t active_users;
struct completion active_users_drained;
+
+ /* protect cancellations */
+ struct mutex cancellations_mtx;
+ struct list_head cancellations;
};
};
};