OSDN Git Service

locks: add new struct list_head to struct file_lock
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / include / linux / fs.h
index 42efe13..cd68181 100644 (file)
@@ -934,6 +934,7 @@ int locks_in_grace(struct net *);
  */
 struct file_lock {
        struct file_lock *fl_next;      /* singly linked list for this inode  */
+       struct list_head fl_list;       /* link into file_lock_context */
        struct hlist_node fl_link;      /* node in global lists */
        struct list_head fl_block;      /* circular list of blocked processes */
        fl_owner_t fl_owner;