mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
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 <jlayton@kernel.org> Link: https://lore.kernel.org/r/20240131-flsplit-v3-46-c6129007ee8d@kernel.org Reviewed-by: NeilBrown <neilb@suse.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
16f9ce8189
commit
282c30f320
@ -131,22 +131,6 @@ struct file_lock {
|
||||
} fl_u;
|
||||
} __randomize_layout;
|
||||
|
||||
/* Temporary macros to allow building during coccinelle conversion */
|
||||
#ifdef _NEED_FILE_LOCK_FIELD_MACROS
|
||||
#define fl_list c.flc_list
|
||||
#define fl_blocker c.flc_blocker
|
||||
#define fl_link c.flc_link
|
||||
#define fl_blocked_requests c.flc_blocked_requests
|
||||
#define fl_blocked_member c.flc_blocked_member
|
||||
#define fl_owner c.flc_owner
|
||||
#define fl_flags c.flc_flags
|
||||
#define fl_type c.flc_type
|
||||
#define fl_pid c.flc_pid
|
||||
#define fl_link_cpu c.flc_link_cpu
|
||||
#define fl_wait c.flc_wait
|
||||
#define fl_file c.flc_file
|
||||
#endif
|
||||
|
||||
struct file_lock_context {
|
||||
spinlock_t flc_lock;
|
||||
struct list_head flc_flock;
|
||||
|
Loading…
Reference in New Issue
Block a user