Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'locks-v4.0-3' of git://git.samba.org/jlayton/linux

Pull file locking fix from Jeff Layton:
"Just a single patch to fix a memory leak that Daniel Wagner discovered
while doing some testing with leases"

* tag 'locks-v4.0-3' of git://git.samba.org/jlayton/linux:
locks: fix fasync_struct memory leak in lease upgrade/downgrade handling

+2 -1
+2 -1
fs/locks.c
··· 1665 1665 } 1666 1666 1667 1667 if (my_fl != NULL) { 1668 - error = lease->fl_lmops->lm_change(my_fl, arg, &dispose); 1668 + lease = my_fl; 1669 + error = lease->fl_lmops->lm_change(lease, arg, &dispose); 1669 1670 if (error) 1670 1671 goto out; 1671 1672 goto out_setup;