]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc9e99d54923654f236d0d7215dd415f5a573e1d
tree84a3e03837ae18b98c38cb98b364dc22b10617a9
parent0034b45c179a3364f8a30ddaee2bd7f2f41114a9
ceph: use fl->fl_type to decide flock operation

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