File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ struct eventfs_inode {
27
27
struct list_head e_top_files ;
28
28
};
29
29
30
- /**
30
+ /*
31
31
* struct eventfs_file - hold the properties of the eventfs files and
32
32
* directories.
33
33
* @name: the name of the file or directory to create
@@ -48,10 +48,16 @@ struct eventfs_file {
48
48
struct eventfs_inode * ei ;
49
49
const struct file_operations * fop ;
50
50
const struct inode_operations * iop ;
51
+ /*
52
+ * Union - used for deletion
53
+ * @del_list: list of eventfs_file to delete
54
+ * @rcu: eventfs_file to delete in RCU
55
+ * @is_freed: node is freed if one of the above is set
56
+ */
51
57
union {
52
- struct list_head del_list ; /* list of eventfs_file to delete */
53
- struct rcu_head rcu ; /* eventfs_file to delete */
54
- unsigned long is_freed ; /* Freed if one of the above is set */
58
+ struct list_head del_list ;
59
+ struct rcu_head rcu ;
60
+ unsigned long is_freed ;
55
61
};
56
62
void * data ;
57
63
umode_t mode ;
You can’t perform that action at this time.
0 commit comments