Re: [PATCH 12/20] filelock: make __locks_delete_block and __locks_wake_up_blocks take file_lock_core

2024-01-17 Thread Jeff Layton
On Wed, 2024-01-17 at 09:23 +1100, NeilBrown wrote: > On Wed, 17 Jan 2024, Jeff Layton wrote: > > Convert __locks_delete_block and __locks_wake_up_blocks to take a struct > > file_lock_core pointer. Note that to accomodate this, we need to add a > > new file_lock() wrapper to go from

Re: [PATCH 12/20] filelock: make __locks_delete_block and __locks_wake_up_blocks take file_lock_core

2024-01-16 Thread NeilBrown
On Wed, 17 Jan 2024, Jeff Layton wrote: > Convert __locks_delete_block and __locks_wake_up_blocks to take a struct > file_lock_core pointer. Note that to accomodate this, we need to add a > new file_lock() wrapper to go from file_lock_core to file_lock. Actually we don't need it see below. >

[PATCH 12/20] filelock: make __locks_delete_block and __locks_wake_up_blocks take file_lock_core

2024-01-16 Thread Jeff Layton
Convert __locks_delete_block and __locks_wake_up_blocks to take a struct file_lock_core pointer. Note that to accomodate this, we need to add a new file_lock() wrapper to go from file_lock_core to file_lock. Signed-off-by: Jeff Layton --- fs/locks.c | 43