Permalink
Browse files

flashcache_load syntax changed, fix for OCF agent

  • Loading branch information...
1 parent c0b7e64 commit 994c70df079fff589d05dda0e22f68bcc2797db5 @dvance dvance committed Apr 9, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/ocf/flashcache
View
@@ -102,9 +102,8 @@ flashcache_start() {
# actually start up the resource here (make sure to immediately
# exit with an $OCF_ERR_ error code if anything goes seriously
# wrong)
- ocf_run flashcache_load ${OCF_RESKEY_name} \
- ${OCF_RESKEY_cache_device} \
- ${OCF_RESKEY_device} || exit $OCF_ERR_GENERIC
+ ocf_run flashcache_load ${OCF_RESKEY_cache_device} \
+ || exit $OCF_ERR_GENERIC
# After the resource has been started, check whether it started up
# correctly. If the resource starts asynchronously, the agent may

0 comments on commit 994c70d

Please sign in to comment.