merge action and search category

This commit is contained in:
Antonio SJ Musumeci
2015-02-05 18:23:01 -05:00
parent 58ec83dcd8
commit 2e95c6e78e
17 changed files with 26 additions and 36 deletions
-2
View File
@@ -43,14 +43,12 @@ namespace mergerfs
: destmount(),
srcmounts(),
srcmountslock(),
action(policies[Category::Enum::action]),
create(policies[Category::Enum::create]),
search(policies[Category::Enum::search]),
controlfile("/.mergerfs")
{
pthread_rwlock_init(&srcmountslock,NULL);
action = &Policy::ff;
create = &Policy::epmfs;
search = &Policy::ff;
}