]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/lockd/svcsubs.c
Merge tag 'drm-next-2019-07-19' of git://anongit.freedesktop.org/drm/drm
[linux.git] / fs / lockd / svcsubs.c
index 0e610f422406aaf88ad23bd423af04b27cd1382a..028fc152da22fcd039a8a59669b63cf2ae59ab5e 100644 (file)
@@ -180,7 +180,7 @@ nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file,
                /* update current lock count */
                file->f_locks++;
 
-               lockhost = (struct nlm_host *) fl->fl_owner;
+               lockhost = ((struct nlm_lockowner *)fl->fl_owner)->host;
                if (match(lockhost, host)) {
                        struct file_lock lock = *fl;