diff --git a/src/storage/storage.c b/src/storage/storage.c index 0d73b0fd2..a4a80e937 100644 --- a/src/storage/storage.c +++ b/src/storage/storage.c @@ -82,6 +82,12 @@ storageNew( // If path sync feature is enabled then path feature must be enabled CHECK(!storageFeature(this, storageFeaturePathSync) || storageFeature(this, storageFeaturePath)); + // If hardlink feature is enabled then path feature must be enabled + CHECK(!storageFeature(this, storageFeatureHardLink) || storageFeature(this, storageFeaturePath)); + + // If symlink feature is enabled then path feature must be enabled + CHECK(!storageFeature(this, storageFeatureSymLink) || storageFeature(this, storageFeaturePath)); + FUNCTION_LOG_RETURN(STORAGE, this); }