Merge tag 'vfs-6.9.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[sfrench/cifs-2.6.git] / fs / nfsd / filecache.c
index 9cb7f0c33df587875773bb91f7d20de73692f912..b86d8494052cd8b0d70a5b4bdd756f3dda3404ec 100644 (file)
@@ -662,8 +662,8 @@ nfsd_file_lease_notifier_call(struct notifier_block *nb, unsigned long arg,
        struct file_lock *fl = data;
 
        /* Only close files for F_SETLEASE leases */
-       if (fl->fl_flags & FL_LEASE)
-               nfsd_file_close_inode(file_inode(fl->fl_file));
+       if (fl->c.flc_flags & FL_LEASE)
+               nfsd_file_close_inode(file_inode(fl->c.flc_file));
        return 0;
 }