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

From: David Howells
Date: Thu Jul 19 2007 - 08:55:44 EST


Eugene Teo <eugeneteo@xxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/