Re: file locks: Split flock_find_conflict out of flock_lock_file

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Wilcox <matthew@...>
Cc: <linux-fsdevel@...>
Date: Tuesday, January 15, 2008 - 2:50 pm

On Mon, Jan 14, 2008 at 09:29:39PM -0700, Matthew Wilcox wrote:

If we did those two steps separately, would the result be two simpler
patches?


The return value is the reverse of what I'd naively expect--I don't
expect something named flock_find_conflict to return something exactly
when conflict is *not* found, but I don't see a better way to do it.
Perhaps there's a better name?

--b.


-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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)
Re: file locks: Split flock_find_conflict out of flock_lock_..., J. Bruce Fields, (Tue Jan 15, 2:50 pm)
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)