Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #93 from leseb/patch-1

Fixed the /proc path of flashcache_version
  • Loading branch information...
commit 8b1e2cb2eb658786082a5cfcfd59cad7b708b2c1 2 parents a4a63a7 + 70fd4dc
@mohans mohans authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ocf/flashcache
View
4 src/ocf/flashcache
@@ -92,12 +92,12 @@ flashcache_start() {
exit $OCF_ERR_INSTALLED
fi
- if [ ! -e /proc/flashcache_version ]; then
+ if [ ! -e /proc/flashcache/flashcache_version ]; then
ocf_log debug "Flashcache support not loaded, loading module"
ocf_run modprobe -v flashcache || exit $OCF_ERR_INSTALLED
fi
- ocf_log debug "Flashcache module information obtained from kernel: `cat /proc/flashcache_version`"
+ ocf_log debug "Flashcache module information obtained from kernel: `cat /proc/flashcache/flashcache_version`"
# actually start up the resource here (make sure to immediately
# exit with an $OCF_ERR_ error code if anything goes seriously
Please sign in to comment.
Something went wrong with that request. Please try again.