hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/fs/lockd/svcsubs.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/fs/lockd/svcsubs.c
34 *
....@@ -179,7 +180,7 @@
179180 /* update current lock count */
180181 file->f_locks++;
181182
182
- lockhost = (struct nlm_host *) fl->fl_owner;
183
+ lockhost = ((struct nlm_lockowner *)fl->fl_owner)->host;
183184 if (match(lockhost, host)) {
184185 struct file_lock lock = *fl;
185186