mbcache: revert "fs/mbcache.c: make count_objects() more robust"
authorEric Biggers <ebiggers@google.com>
Sun, 7 Jan 2018 21:35:20 +0000 (16:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 7 Jan 2018 21:35:20 +0000 (16:35 -0500)
commitbbe45d2460da98785cb9453fb0b42d9b2e79dd99
treeea4ef3b21c70cada9c70dc00ac18d702de7b9acc
parent3876bbe27d04b848750d5310a37d6b76b593f648
mbcache: revert "fs/mbcache.c: make count_objects() more robust"

This reverts commit d5dabd633922ac5ee5bcc67748f7defb8b211469.

This patch did absolutely nothing, because ->c_entry_count is unsigned.

In addition if there is a bug in how mbcache maintains its entry count,
it needs to be fixed, not just hacked around.  (There is no obvious bug,
though.)

Cc: Jan Kara <jack@suse.cz>
Cc: Jiang Biao <jiang.biao2@zte.com.cn>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/mbcache.c