Re: [PATCH 20/20] filelock: split leases out of struct file_lock

2024-01-17 Thread Jeff Layton
On Wed, 2024-01-17 at 09:44 +1100, NeilBrown wrote: > On Wed, 17 Jan 2024, Jeff Layton wrote: > > Add a new struct file_lease and move the lease-specific fields from > > struct file_lock to it. Convert the appropriate API calls to take > > struct file_lease instead, and convert the callers to use

Re: [PATCH 20/20] filelock: split leases out of struct file_lock

2024-01-16 Thread NeilBrown
On Wed, 17 Jan 2024, Jeff Layton wrote: > Add a new struct file_lease and move the lease-specific fields from > struct file_lock to it. Convert the appropriate API calls to take > struct file_lease instead, and convert the callers to use them. I think that splitting of struct

[PATCH 20/20] filelock: split leases out of struct file_lock

2024-01-16 Thread Jeff Layton
Add a new struct file_lease and move the lease-specific fields from struct file_lock to it. Convert the appropriate API calls to take struct file_lease instead, and convert the callers to use them. Signed-off-by: Jeff Layton --- fs/libfs.c | 2 +- fs/locks.c