Permalink
Browse files

Merge pull request #93 from leseb/patch-1

Fixed the /proc path of flashcache_version
  • Loading branch information...
2 parents a4a63a7 + 70fd4dc commit 8b1e2cb2eb658786082a5cfcfd59cad7b708b2c1 @mohans mohans committed Nov 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ocf/flashcache
View
@@ -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

0 comments on commit 8b1e2cb

Please sign in to comment.