Re: Leak in nlmsvc_testlock for async GETFL case

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: J. Bruce Fields <bfields@...>
Cc: <linux-fsdevel@...>
Date: Friday, January 11, 2008 - 10:57 pm

Hello!

On Nov 29, 2007, at 2:08 PM, J. Bruce Fields wrote:


After playing around that code a bit more, I figured out the leak was  
not
completely fixed by that first patch, the case where there is  
conflicting
lock passed in by callback still leaks block reference.
This simple incremental fix (against your current tree) takes care of  
that.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
I guess there is no way to safely include patches in messages in apple
mail, so the patch is still attached.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Leak in nlmsvc_testlock for async GETFL case, Oleg Drokin, (Thu Nov 29, 2:46 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Felix Blyakher, (Mon Dec 3, 1:00 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Oleg Drokin, (Mon Dec 3, 1:49 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, J. Bruce Fields, (Thu Nov 29, 3:08 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Oleg Drokin, (Fri Jan 11, 10:57 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, J. Bruce Fields, (Mon Jan 14, 4:44 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Matthew Wilcox, (Tue Jan 15, 12:26 am)
Re: Leak in nlmsvc_testlock for async GETFL case, J. Bruce Fields, (Tue Jan 15, 10:42 am)
file locks: Split flock_find_conflict out of flock_lock_file, Matthew Wilcox, (Tue Jan 15, 12:29 am)
file locks: Use wait_event_interruptible_timeout(), Matthew Wilcox, (Tue Jan 15, 12:28 am)
Re: file locks: Use wait_event_interruptible_timeout(), J. Bruce Fields, (Tue Jan 15, 10:48 am)
Re: file locks: Use wait_event_interruptible_timeout(), Matthew Wilcox, (Tue Jan 15, 11:04 am)
Re: file locks: Use wait_event_interruptible_timeout(), J. Bruce Fields, (Tue Jan 15, 2:54 pm)