Skip to content

Commit

Permalink
flashcache_load syntax changed, fix for OCF agent
Browse files Browse the repository at this point in the history
  • Loading branch information
dvance committed Apr 9, 2012
1 parent c0b7e64 commit 994c70d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ocf/flashcache
Expand Up @@ -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
Expand Down

0 comments on commit 994c70d

Please sign in to comment.