kernel/fs/lockd/svcsubs.c
.. .. @@ -1,3 +1,4 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 /* 2 3 * linux/fs/lockd/svcsubs.c 3 4 * .. .. @@ -179,7 +180,7 @@ 179 180 /* update current lock count */ 180 181 file->f_locks++; 181 182 182 - lockhost = (struct nlm_host *) fl->fl_owner;183 + lockhost = ((struct nlm_lockowner *)fl->fl_owner)->host;183 184 if (match(lockhost, host)) { 184 185 struct file_lock lock = *fl; 185 186