mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
filelock: split common fields into struct file_lock_core
In a future patch, we're going to split file leases into their own structure. Since a lot of the underlying machinery uses the same fields move those into a new file_lock_core, and embed that inside struct file_lock. For now, add some macros to ensure that we can continue to build while the conversion is in progress. Signed-off-by: Jeff Layton <jlayton@kernel.org> Link: https://lore.kernel.org/r/20240131-flsplit-v3-17-c6129007ee8d@kernel.org Reviewed-by: NeilBrown <neilb@suse.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
committed by
Christian Brauner
parent
3d40f78169
commit
a69ce85ec9
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "super.h"
|
||||
#include "mds_client.h"
|
||||
#define _NEED_FILE_LOCK_FIELD_MACROS
|
||||
#include <linux/filelock.h>
|
||||
#include <linux/ceph/pagelist.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user