Fix Connectathon locking test failure
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:21 +0000 (14:20 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:21 +0000 (14:20 -0700)
commit4c780a4688b421baa896b59778c05d7e068e479f
tree5d7727971fc92e037857d6c560a6af8f4196df8b
parent550f57470c6506f5ef3c708335dea6bd48bf3dc4
Fix Connectathon locking test failure

 We currently fail Connectathon test 6.10 in the case of 32-bit locks due
 to incorrect error checking.
 Also add support for l->l_len < 0 to 64-bit locks.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/locks.c