Skip to content
Snippets Groups Projects
user avatar
Ram Gupta authored
This patch fixes the c_entry_count counter of the mbcache. Currently
it increments the counter first & allocate the cache entry later. In
case of failure to allocate the entry due to insufficient memory this
counter is still left incremented. This patch fixes this anomaly.

Signed-off-by: default avatarRam Gupta <ram.gupta5@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
f9e83489
History
Name Last commit Last update