filelock: have fs/locks.c deal with file_lock_core directly
authorJeff Layton <jlayton@kernel.org>
Wed, 31 Jan 2024 23:01:59 +0000 (18:01 -0500)
committerChristian Brauner <brauner@kernel.org>
Mon, 5 Feb 2024 12:11:38 +0000 (13:11 +0100)
commit4ca52f539865853e6ddbc393745cd0b305f0d810
tree26b11889e333e33447a8f28dc49d26ecdc40f919
parenta69ce85ec9af6bdc0b3511959a7dc1a324e5e16a
filelock: have fs/locks.c deal with file_lock_core directly

Convert fs/locks.c to access fl_core fields direcly rather than using
the backward-compatibility macros. Most of this was done with
coccinelle, with a few by-hand fixups.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20240131-flsplit-v3-18-c6129007ee8d@kernel.org
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/locks.c
include/trace/events/filelock.h