]> git.baikalelectronics.ru Git - kernel.git/commit
locks: keep a count of locks on the flctx lists
authorJeff Layton <jlayton@primarydata.com>
Fri, 16 Jan 2015 20:05:57 +0000 (15:05 -0500)
committerJeff Layton <jeff.layton@primarydata.com>
Fri, 16 Jan 2015 21:08:50 +0000 (16:08 -0500)
commitaac5ccdeecca8e5d5129adb3118d1a4fb829c903
tree205f3c2107cec0323dc25c959fefcc4fd709fa49
parent2a7dcb0dec661c1ea841e7c167580d843a73a8f3
locks: keep a count of locks on the flctx lists

This makes things a bit more efficient in the cifs and ceph lock
pushing code.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Acked-by: Christoph Hellwig <hch@lst.de>
fs/ceph/locks.c
fs/cifs/file.c
fs/locks.c
include/linux/fs.h