Change to make flashcache compile on 3.6.0.

Summary: Changes to make flashcache compile on 3.6.0. Thanks to
Thomas Stein for quickly verifying that the patch works.

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
Fixed the /proc path of flashcache_version

It might be due to an upgrade change. The location of flashcache_version changed.
Merge pull request #93 from leseb/patch-1

Fixed the /proc path of flashcache_version
Fix for a flashcache_create bug where associativity is not being passed in correctly.

Summary: Fix for a flashcache_create bug where associativity is not being passed in
correctly to the flashcache module.

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
Fix flashcache_load getting cachedev from argv when using flags

The cachedev parameter is in position 3 when no flags specificed.
When -v is used then cachedev will be in position 4.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Fix use-after-free in flashcache_destroy

The sb variable points to buf. But buf gets freed and reallocated, so
the old pointer points to freed memory. The variable is then reused to
invalidate the cache_sb_state, but the change never gets saved
because the buf that is written to disk does not point to the same
memory.
Merge pull request #107 from Zedzap/master

Fix use-after-free in flashcache_destroy
Run depmod on the right kernel
Merge pull request #109 from viraptor/master

Depmod should be run on the right kernel
Merge pull request #104 from roidayan/fix_flashcache_load

Fix flashcache_load getting cachedev from argv when using flags
added 3.9.0 support
Merge pull request #120 from avirus/patch-1

added 3.9.0 support
Merge branch 'master' of github.com:facebook/flashcache
Fix a compilation error caused by a missing '#' in the commit for 3.9.0 support.

Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
Update flashcache-sa-guide.txt

There were two mentions of "writebehind" cache type.
From earlier declaration there are three types available: "Writethrough", "Writearound", "Writeback".
Probably "writebehind" means "Writearound".
replace those two mentions.
Update flashcache-sa-guide.txt

typo:
Writethru -> Writethrough
Update flashcache-sa-guide.txt

typo:
containly -> containing
Merge pull request #122 from MaximF/patch-1

Update flashcache-sa-guide.txt
Merge pull request #123 from MaximF/patch-2

Update flashcache-sa-guide.txt
Merge pull request #124 from MaximF/patch-3

Update flashcache-sa-guide.txt