mds: fix neighbor lock check

Signed-off-by: Yan, Zheng <zyan@redhat.com>
qa/workunits/fs/misc: Add a workunit for file lock interruption

Signed-off-by: Yan, Zheng <zyan@redhat.com>