Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/stored/backends/droplet_device.h')
-rw-r--r--core/src/stored/backends/droplet_device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/stored/backends/droplet_device.h b/core/src/stored/backends/droplet_device.h
index 3c63dfed2..1eaae6506 100644
--- a/core/src/stored/backends/droplet_device.h
+++ b/core/src/stored/backends/droplet_device.h
@@ -2,7 +2,7 @@
BAREOSĀ® - Backup Archiving REcovery Open Sourced
Copyright (C) 2014-2017 Planets Communications B.V.
- Copyright (C) 2014-2021 Bareos GmbH & Co. KG
+ Copyright (C) 2014-2022 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
@@ -80,6 +80,8 @@ class DropletDevice : public ChunkedDevice {
~DropletDevice();
// Interface from Device
+ SeekMode GetSeekMode() const override { return SeekMode::BYTES; }
+ bool CanReadConcurrently() const override { return true; }
int d_close(int fd) override;
int d_open(const char* pathname, int flags, int mode) override;
int d_ioctl(int fd, ioctl_req_t request, char* mt = NULL) override;