mds: flock: fix F_GETLK

fixes #5025
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Merge pull request #715 from ceph/wip-5025

Reviewed-by: Greg Farnum <greg@inktank.com>