summaryrefslogtreecommitdiff
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2005-11-11 03:08:00 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-11-13 20:29:54 +0300
commitdc15ae14e97ee9d5ed740cbb0b94996076d8b37e (patch)
treea159edc76dedf81d73f17d844fbf965d5ded9f39 /drivers/acpi/power.c
parent9e6c67fd2716720d9029d38ea25884efcfdedeb6 (diff)
downloadlinux-dc15ae14e97ee9d5ed740cbb0b94996076d8b37e.tar.xz
[PATCH] VFS: Fix memory leak with file leases
The patch http://linux.bkbits.net:8080/linux-2.6/diffs/fs/locks.c@1.70??nav=index.html introduced a pretty nasty memory leak in the lease code. When freeing the lease, the code in locks_delete_lock() will correctly clean up the fasync queue, but when we return to fcntl_setlease(), the freed fasync entry will be reinstated. This patch ensures that we skip the call to fasync_helper() when we're freeing up the lease. Signed-off-by: J. Bruce Fields <bfields@fieldses.org> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/acpi/power.c')
0 files changed, 0 insertions, 0 deletions