diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-01-31 18:02:21 -0500 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-02-05 13:11:43 +0100 |
commit | eb8ed7c6ab08cde2e8869adc72cc02c7368f0a21 (patch) | |
tree | 5f0c44dfdd081740360c1a18dc4c5619c0d8d682 /fs/lockd/clntlock.c | |
parent | 9a7eec48c9715c897b3a7809799089d708a4de64 (diff) | |
download | linux-stable-eb8ed7c6ab08cde2e8869adc72cc02c7368f0a21.tar.gz linux-stable-eb8ed7c6ab08cde2e8869adc72cc02c7368f0a21.tar.bz2 linux-stable-eb8ed7c6ab08cde2e8869adc72cc02c7368f0a21.zip |
lockd: adapt to breakup of struct file_lock
Most of the existing APIs have remained the same, but subsystems that
access file_lock fields directly need to reach into struct
file_lock_core now.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20240131-flsplit-v3-40-c6129007ee8d@kernel.org
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/lockd/clntlock.c')
-rw-r--r-- | fs/lockd/clntlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/clntlock.c b/fs/lockd/clntlock.c index 5d85715be763..a7e0519ec024 100644 --- a/fs/lockd/clntlock.c +++ b/fs/lockd/clntlock.c @@ -185,7 +185,7 @@ __be32 nlmclnt_grant(const struct sockaddr *addr, const struct nlm_lock *lock) continue; if (!rpc_cmp_addr(nlm_addr(block->b_host), addr)) continue; - if (nfs_compare_fh(NFS_FH(file_inode(fl_blocked->fl_file)), fh) != 0) + if (nfs_compare_fh(NFS_FH(file_inode(fl_blocked->c.flc_file)), fh) != 0) continue; /* Alright, we found a lock. Set the return status * and wake up the caller |