Revert "locks: keep a count of locks on the flctx lists"
authorJeff Layton <jeff.layton@primarydata.com>
Mon, 16 Feb 2015 19:32:03 +0000 (14:32 -0500)
committerJeff Layton <jeff.layton@primarydata.com>
Mon, 16 Feb 2015 19:32:03 +0000 (14:32 -0500)
commite084c1bd40926938ff8d26af3bde34396dd4d06d
tree5d4dd8e3eaf5c46430670d4858084230128f3bbd
parent1fa185ebcbcefdc5229c783450c9f0439a69f0c1
Revert "locks: keep a count of locks on the flctx lists"

This reverts commit 9bd0f45b7037fcfa8b575c7e27d0431d6e6dc3bb.

Linus rightly pointed out that I failed to initialize the counters
when adding them, so they don't work as expected. Just revert this
patch for now.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
fs/ceph/locks.c
fs/cifs/file.c
fs/locks.c
include/linux/fs.h