[Ocfs2-tools-devel] [Ocfs2-devel] ocfs2-test: fix flock_unit_test for fcntl locks

Sunil Mushran sunil.mushran at oracle.com
Wed Aug 20 09:26:53 PDT 2008


Mark Fasheh wrote:
> We were expecting a failure for the same-node same-fd trylock tests when in
> fcntl mode, but fcntl locks will actually succeed for this, while flock
> locks won't. The solution is to check which locking mode we're using and
> adjust our expected return accordingly.
>
> Signed-off-by: Mark Fasheh <mfasheh at suse.com>
>   

Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>




More information about the Ocfs2-tools-devel mailing list