ceph: use fl->fl_type to decide flock operation
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 4 Mar 2014 07:42:24 +0000 (15:42 +0800)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:08 +0000 (21:07 -0700)
VFS does not directly pass flock's operation code to filesystem's
flock callback. It translates the operation code to the form how
posix lock's parameters are presented.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/locks.c

diff --cc fs/ceph/locks.c
Simple merge