Files
twx-linux/fs
J. Bruce Fields b3834f71cb [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>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-11-24 14:10:08 -08:00
..
2005-10-04 13:22:01 -07:00
2005-09-21 10:12:18 -07:00
2005-09-30 12:41:18 -07:00
2005-09-07 16:57:50 -07:00
2005-11-10 21:18:54 -08:00
2005-10-08 15:00:57 -07:00
2005-09-14 21:40:00 -07:00
2005-09-09 13:57:55 -07:00
2005-10-23 16:38:39 -07:00
2005-10-08 15:00:57 -07:00
2005-09-10 10:06:22 -07:00
2005-09-09 13:57:55 -07:00