locks: clean up the lm_change prototype
Now that we use standard list_heads for tracking leases, we can have lm_change take a pointer to the lease to be modified instead of a double pointer. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Acked-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -3477,7 +3477,8 @@ nfsd_break_deleg_cb(struct file_lock *fl)
|
||||
}
|
||||
|
||||
static int
|
||||
nfsd_change_deleg_cb(struct file_lock **onlist, int arg, struct list_head *dispose)
|
||||
nfsd_change_deleg_cb(struct file_lock *onlist, int arg,
|
||||
struct list_head *dispose)
|
||||
{
|
||||
if (arg & F_UNLCK)
|
||||
return lease_modify(onlist, arg, dispose);
|
||||
|
Reference in New Issue
Block a user