Re: [PATCH] fs/afs/flock.c: posix_test_lock() returns void

David Howells
2007-07-19T12:55:43Z

Eugene Teo <eugeneteo@kernel.sg> wrote:

> posix_test_lock() returns void, so there is no need to test the return value.
> Checking fl->fl_type for F_UNLCK instead.

Yep, thanks. Andrew Morton already has a patch for this.

David