]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit600b2e003ef6ebf429f40457d684d774ce47ec87
tree5d4dd8e3eaf5c46430670d4858084230128f3bbd
parentbfb20874559ceeb6bf584629d29dd070ca35ee7b
Revert "locks: keep a count of locks on the flctx lists"

This reverts commit 99e6b26fbecd706e57afbfcaeb14c53d688f07a0.

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