Fix compilation for latest ES versions

This fixes a change that recently landed in 1.x and master that prevents
the plugin from being compiled.
This commit is contained in:
Lee Hinman 2015-05-18 13:43:22 -06:00
parent 6b3e57e430
commit 8742d477c4
1 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,6 @@ public class SmbMmapFsDirectoryService extends FsDirectoryService {
@Override
protected Directory newFSDirectory(Path location, LockFactory lockFactory) throws IOException {
logger.debug("wrapping MMapDirectory for SMB");
return new SmbDirectoryWrapper(new MMapDirectory(location, buildLockFactory()));
return new SmbDirectoryWrapper(new MMapDirectory(location, buildLockFactory(indexSettings)));
}
}