Skip to content

Commit 282c30f

Browse files
jtlaytonbrauner
authored andcommitted
filelock: remove temporary compatibility macros
Everything has been converted to access fl_core fields directly, so we can now drop these. Signed-off-by: Jeff Layton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent 16f9ce8 commit 282c30f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

include/linux/filelock.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,6 @@ struct file_lock {
131131
} fl_u;
132132
} __randomize_layout;
133133

134-
/* Temporary macros to allow building during coccinelle conversion */
135-
#ifdef _NEED_FILE_LOCK_FIELD_MACROS
136-
#define fl_list c.flc_list
137-
#define fl_blocker c.flc_blocker
138-
#define fl_link c.flc_link
139-
#define fl_blocked_requests c.flc_blocked_requests
140-
#define fl_blocked_member c.flc_blocked_member
141-
#define fl_owner c.flc_owner
142-
#define fl_flags c.flc_flags
143-
#define fl_type c.flc_type
144-
#define fl_pid c.flc_pid
145-
#define fl_link_cpu c.flc_link_cpu
146-
#define fl_wait c.flc_wait
147-
#define fl_file c.flc_file
148-
#endif
149-
150134
struct file_lock_context {
151135
spinlock_t flc_lock;
152136
struct list_head flc_flock;

0 commit comments

Comments
 (0)